ASP.NET Making your ASP.NET Global Resource files work in JavaScript. IntelliSense included! Any modern web application needs localization! You simply can’t ignore the huge amounts of people who doesn’t speak your language, or whose native language is different from yours. You’re probably using resource files (.resx) in .NET, but how do you go about getting values from your resource
ASP.NET Windows Live Development - Authenticating users via Windows Live ID With so many online services out there, you nearly claim a new online identity somewhere every day. You tend to use the same username and password couple for all of them, but sometimes your preferred username is taken, or your password does not meet the sites’ password policy. I reckon
ASP.NET Event performance optimization with the EventHandlerList When using custom events (event delegates) in your ASP.NET pages, user controls and server controls, many developers might define their Events as public fields, like this: publicevent EventHandler MyCustomEvent; And use this code to fire the event: protectedvoid OnMyCustomEvent(EventArgs e) { if(MyCustomEvent != null) { MyCustomEvent(this, e); } } Nothing is
ASP.NET Configuring IIS 7 default document from web.config IIS 7 has a lot of changes regarding the configuration model. Using the Integrated Configuration System in IIS 7 you can set configuration of your server on different levels, compared to IIS 6, where the ASP.NET developer were more restricted. Configuring IIS 7 from an ASP.NET Web Application’
ASP.NET Sending e-mails from your ASP.NET app and maintaining a list of recipients Making your application send e-mails, is something you do almost in every application. It’s easy – all you need is an SMTP server to relay your mail through. Sending e-mail messages to several recipients at once can also be done, by adding multiple recipients to either of the MailMessage.To
ASP.NET How to handle IIS Event id 1009 (Event id 5011 on IIS 7) Recently at work we had some serious production environment issues. Our web application basically made the IIS application pool terminate unexpectedly. And we didn’t get a single stack trace or a line of code. The only thing that was logged inside of the Windows Event Viewer, was event id
ASP.NET Web services and Silverlight 1.1 C# gotchas As anyone must know by now, Silverlight is Microsoft's cross-browser, cross-platform RIA (Rich Internet Application) technology – like Adobe's Flash. With Silverlight, they say the sky is the limit, and it's only up to yourself what to invent. Silverlight offers you a big chunck of
ASP.NET Fiddler2 and the ASP.NET Development server (Cassini) If you’re debugging ASP.NET apps, it can sometimes be an advantage to be able to see the actual requests, and analyze file sizes, run-time rendered code and being able to ‘fiddle’ with the code on run-time. Well. Fiddler2 [http%3a%2f%2fwww.fiddler2.com%2ffiddler2%2f] provides extremely
ASP.NET Set the DataTable.Locale property – or get weird sorting If you have a monster of an ASP.NET app, and your user come from different places in the world, they are most likely to have different locales as well. I’m danish, and we have three special characters in our alphabet – æ, ø, å. If I have a DataTable