hexy

Stories kicked by hexy

Tip/Trick: Fix Common SEO Problems Using the URL Rewrite Extension - S(weblogs.asp.net)

submitted by hexyhexy(325) 2 years, 1 month ago

ScottGu walks us through some of common SEO problems and how to fix them using IIS7's Url Rewrite extension. read more...

add a comment |category: |Views: 4

tags: another

C# 4.0: Alternative To Optional Arguments - Paulo Morgado(weblogs.asp.net)

submitted by hexyhexy(325) 2 years, 1 month ago

In this tip Paulo brings up a method I use often to avoid a 'buffet' of method overloads. Encapsulation all your 'arguments' in a class and passing that in, instead of all/many arguments that may or may not be optional. It's still relevant in C# 4.0 despite its new optional arguments - though I think this post misses some sample code. read more...

add a comment |category: |Views: 5

tags: another

How Fanboys See .NET ORMs(www.kevinwilliampang.com)

submitted by kpanghmckpanghmc(2055) 2 years, 4 months ago

A play off of the recent "How Fanboys See Operating Systems" post. read more...

4 comments |category: |Views: 717

tags: another

String templates revisited(code-clarity.blogspot.com)

submitted by hkurabkohkurabko(85) 2 years, 4 months ago

Sometimes I encounter a task - create some little template, that user can easily configure. Yeah, there are many powerful template engines, or you can use {0}, {1} placeholders, or even handwritten #Id#, #Name# placeholders. But this article describes yet another way - simple and descriptive string formatters such as in ASP.NET AJAX 4.0: {Id}, {Name}, {Login}. This placeholders reflects public properties or fields of an object. read more...

add a comment |category: |Views: 6

tags: another

Use Google's Closure Compiler in C#(madskristensen.net)

submitted by madskristensenmadskristensen(8565) 2 years, 6 months ago

A very simple and small C# class for utilizing the Google Closure Compiler API for minifying JavaScript. read more...

add a comment |category: |Views: 432

tags: another

Creating vCard with image in .Net(weblogs.asp.net)

submitted by gpeipmangpeipman(3145) 2 years, 9 months ago

vCard is popular format for exchanging contacts. Besides e-mail clients also modern mobile phones are able to read and send contacts as vCard. This posting introduces same ideas how to implement vCard support in your applications and how to add images to vCards. read more...

add a comment |category: |Views: 27

tags: another

The “Sim City” effect(broloco.blogspot.com)

submitted by wellfan77wellfan77(175) 2 years, 11 months ago

What happens when you turn your back on a software development project. read more...

add a comment |category: |Views: 858

tags: another

LINQ to SQL is NOT dead!(jonkruger.com)

submitted by david_hollanddavid_holland(605) 2 years, 11 months ago

Ever since Microsoft announced that the Entity Framework was their ORM of choice, people everywhere have been saying, “LINQ to SQL is dead!” A lot of people feel like they’re not allowed to use LINQ to SQL anymore and that they have to use Entity Framework instead. In fact, LINQ to SQL is not only alive and well, Microsoft has even announced LINQ to SQL improvements in .NET 4.0, including finally adding using ITable<T> for tables instead of Table<T>, which makes it much easier to test. Combine that with this open source tool that will create an IDataContext interface for you and you’re on your way to testable LINQ to SQL. So no, LINQ to SQL is not dead!! read more...

2 comments |category: |Views: 501

tags: another

Should We Return Null From Our Methods?(leedumond.com)

submitted by leedumondleedumond(2144) 2 years, 11 months ago

I read a interesting article recently about the potential perils of Null Check Hell. The author’s suggestion? Stop allowing any of your methods to return nulls, ever . No nulls returned, no null checks necessary. Problem solved, right? read more...

2 comments |category: |Views: 742

tags: another

Automatically minify and combine JavaScript in Visual Studio(encosia.com)

submitted by gt1329agt1329a(7849) 3 years ago

As you begin developing more complex client-side functionality, managing the size and shape of your JavaScript includes becomes a key concern. It’s all too easy to accidentally end up with hundreds of kilobytes of JavaScript spread across many separate HTTP requests, significantly slowing down your initial page loads. I hope you’ll find that this technique is a good compromise between the tedium of using manual minification tools and the overwrought complexity of setting up some of the more “enterprisey” automation solutions. read more...

add a comment |category: |Views: 514

tags: another

No bandwidth MSDN: Reflector(james.newtonking.com)

submitted by JamesNKJamesNK(3020) 3 years, 1 month ago

How you can use Reflector to browse the insides of the .NET framework classes and why choosing Reflector over MSDN will make you a better developer. read more...

add a comment |category: |Views: 542

tags: another

ELMAH: Error Logging Modules and Handlers for ASP.NET (and MVC too!)(hanselman.com)

submitted by sharplifesharplife(4570) 3 years, 1 month ago

ELMAH has been one of the most useful tools for ASP.NET developers to log errors on their web applications. Now Scott has a nice talk on how to use it even in your ASP.NET MVC applications. Cool! read more...

add a comment |category: |Views: 333

tags: another

A new breed of magic strings in ASP.NET MVC(lostechies.com)

submitted by johnsheehanjohnsheehan(4785) 3 years, 4 months ago

One of the common patterns in Ruby on Rails is the use of hashes in place of large parameter lists. Instead of hashes, which don’t exist in C#, ASP.NET MVC uses anonymous types for quite a few HTML generators on the view side. This is a trick used by the MVC team to simulate hashes. Since the dictionary initializer syntax is quite verbose, with lots of angly-bracket cruft, anonymous types provide a similar effect to hashes. However, don’t let the magic fool you. Anonymous types used to create dictionaries are still dictionaries. read more...

2 comments |category: |Views: 373

tags: another

The Perfect Storm Botnet (codebetter.com)

submitted by siphilpsiphilp(919) 3 years, 5 months ago

Rob Conery talks about the power of a bot net and why developers should be aware of XSS attacks and other nasties should an app be allowing users to post into the system. read more...

add a comment |category: |Views: 143

tags: another

Oxite: OpenSource CMS from Microsoft Built on ASP.NET MVC(codeclimber.net.nz)

submitted by keyvankeyvan(4086) 3 years, 5 months ago

Simone Chiaretta writes about the recent announcement by Microsoft Evangelist, Jeff Sandquist, about Oxite which is an open source CMS built by Microsoft as a showcase and sample for ASP.NET MVC. read more...

add a comment |category: |Views: 744

tags: another

How To Guarantee That Your Software Will Suck(codethinked.com)

submitted by justin_etheredgejustin_etheredge(8539) 3 years, 5 months ago

Do you bad software and unhappy developers? Well, it isn't that hard... read more...

add a comment |category: |Views: 651

tags: another