DevDevin

  Home  |   Contact  |   Syndication    |   Login
  105 Posts | 0 Stories | 36 Comments | 29 Trackbacks

News

Archives

Post Categories

Blogworthy

Design Patterns

Recommended Books

ASP.NET

Explanations, tips, and tricks related to ASP.NET

I plan to use the new localization features in ASP.NET 2.0 in my next personal project that I deem cool enough to be truly international. Here is an article that shows how simple it really is: http://www.codeguru.com/csharp/.net/net_asp/miscellaneous/article.php/c12407__1/.


Blinq is a tool for generating ASP.NET websites for displaying, creating, and manipulating data based on database schema. Just point Blinq at a SQL database and it will create a website with pages that display sorted and paged data, allow you to update or delete records, create new records, and follow relationships between tables in your database. You don't need to write SQL queries to use Blinq; LINQ will generate optimized queries for you that request just the data you want to show. Blinq uses ......

I was just helping a buddy of mine do some cross-site scripting (XSS) prevention and came across some good resources. If you don't know what XSS is, there is decent introduction here: http://www.counterhack.net/... Now on to the ones that I really wanted to post: This one is from Microsoft Patterns & Best Practices. How To: Protect From Injection Attacks in ASP.NEThttp://msdn.microsof... Here is a download for Microsoft ......

Scott Hanselman posted a two part series of .NET questions that could potentially be used for interviewing .NET candidates. Although I don't necessarily think they would ensure a well-rounded hire, they definitely include some good technical questions that can help you gauge how deep someone's (and your own) knowledge of .NET is and maybe even help you learn something new: http://www.hanselman.com/bl... ......

The long-awaited launch happened yesterday and I enjoyed what I was able to see. Unfortunately, I only stayed through the morning session since our team was scheduled to release that day (imagine that). In any case, the organizers were understanding and forgiving enough to give me the free copies of VS.NET 2005 and SQL Server 2005 before I left anyway. Let me give a quick synopsis of some of the things I noted during the talks. The keynote speech cited a few statistics that showed the market adoption ......

Today I had a bunch of classes that I needed interfaces for and I wanted to find a tool that would generate them for me. This led me to the discovery of several refactoring tools available for .NET. Here they are: Net Refactorhttp://www.knowdotn... tool was able to generate an interface from my class, but unfortunately it was not smart enough to put that interface in the right project since my solution had multiple projects.) C# Refactoryhttp://www.xtreme-... ......

I'm not implying that you shouldn't buy the full version VB.NET to C# conversion products if they have the functionality that you really need. However, I do think it would be silly not to take advantage of the free demo versions and/or the other free tools available for doing this if it will get the job done without having to purchase anything. So here are a few of the options I've found for converting VB.NET code to C# for free: TransKing (free demo version allows 600 lines of code per file)http://www.e-iceblue.com/ ......

The headache and horror of absolute and relative paths in the web world still haunts us, but it gets a little bit easier now with ASP.NET. Here is a helpful article that gives a good overview of your options: http://msdn2.microsoft.com/... However, there is one very important thing that it does not mention. There is a nice little method on the Page class called ResolveUrl. This came in handy today when I needed to get my application root without hard coding it. All you have to ......

I had been meaning to write something on the ASP.NET validation controls myself, and today I just got a hold of this introductory article on them: http://techrepublic.com.com... In most cases you can use these controls instead of writing your own custom validation code and also not have to duplicate it for both client-side and server-side checking. For instance, if all you want to do is make sure that a field is filled in you can use the “RequiredFieldValidat... ......