Enumerations provide useful groupings of named, numeric constants that can enhance the readability of source code. When the constants need to be outputted they may be formatted as numbers or strings, with various available options.
Tag: Development
Roslyn CTP Code Analysis
(Eric Vogel) In the last installment of C# corner , I demonstrated how to use the Scripting APIs using the recently released Roslyn CTP. In this edition I’ll demonstrate how to utilize the Roslyn Compiler APIs to analyze the syntax and semantics of code as well as compile it.
Web.config Transformation Features in Visual Studio 2010
(Dean Hume) When developing applications in Visual Studio, I normally pay a lot of attention to my Solution Explorer. However, I recently spotted something that I didn’t notice before. Well, at least something that I haven’t paid attention to!
Aggregating RSS Feeds
(Bipin Joshi) .NET framework provides classes to read and write RSS and ATOM feeds. I already wrote two articles Using Syndication Classes to Generate RSS Feeds and Using Syndication Classes to Read RSS Feeds that illustrate use of these classes.
Sanitizing Input with PHP
(W. Jason Gilmore and Robert H. Treat) In this seventh part of an eight-part article series on using PHP commands with your file and operating systems, you’ll learn how and why to sanitize user input.
Integrating DataViews with Multiple Cascading DropDown Lists
(Peter Vogel) In a comment to a tip in our ".NET Tips and Tricks" blog, a reader noted that what he needed to was an "example of how to have a large number of combo/drop that are dependent on each other in a dataview" — including dependencies that involved several dropdown lists rather than just on
Creating a Video Converter Using VB.NET
(Hannes du Preez) I have always been fascinated with programs like DVD Fab, or XiliSoft. I literally have millions of DVDs. I am a movie freak. Now, I have many imported DVDs of movies I can remember from when I was just a little boy.
Mocking Internal Types with Moq
To perform successful unit testing classes should be isolated from their dependencies. When the dependencies are internal and tests are in a separate project, this can be achieved using a combination of Moq and C# friend assemblies.
WCF Extensibility – Transport Channels – Request channels, part 2
(CarlosFigueira) Continuing where I left off on the previous post, let’s jump right back into the scenario. This post, although having “Transport Channels” in the title, is more about the WCF Runtime pieces required for the scenario to work (I’ll finish the transport with asynchronous support in the
ASP.NET MVC Routing Extensibility
(Simone Chiaretta) In the previous article I introduced the concept of extensibility, and described where ASP.NET MVC can be extended: With this article I’ll be starting a guided tour around these extensibility points, beginning with the first ones that are encountered when a request hits the applic
