Home
For best results, please use Internet Explorer to view this site.
Share/Save/Bookmark
Welcome to CovertCoder.com

This site is geared towards helping DotNet developers with their development. Anyone can perform a search of my Knowledge Base for help with things that have plagued me or that I have found useful in my development process.  Power users also have the ability to add topics and edit existing topics.  If you'd like to become a power user and use this site as a repository for your knowledge, just send me an email.

Upon registering, you will have access to Tools, such as the Code Generator. This tool allows you to build all the layers required in an n-tier application.  Not only will it build the Application Logic Layer, Data Access Layer, and all Models or Objects, but it will also create the SQL to create a table and all the stored procedures required to wire the Data Access Layer to a SQL database.  Non-registered users can try the tool with two fields.  Registered users can enter unlimited fields into the tool.

There are no strings attached to registering. You will not be put on any mailing list, and I will not contact you, unless you request it. (New)

Intro to MVC
Description: (You can make an ActionLink an image in MVC but replacing the output text to the image you would like to view. Notes: (Enter notes here) Inside your View, all you have to do is replace the text with the path to your image.Example:<%
Description: This tutorial will show you how to convert an ASP.Net Web application to use the Microsoft MVC Framework. Notes: 1.
Description: This code shows you how to create an Action Filter that you can assign to an action(method) within a controller Notes: Create a class that will inherit from "ActoinFilterAttribute" and perform some time of actionBelow is an example of a class the will display the amount of time a process took to the Output Window:
Description: This code will show you how to add an Html Helper method to your MVC project by using extensions. Under your MVC app, create a folder called "ViewHelpers"Within that folder, create a class called anything you want to put your extension methods into.  (e.g. "MyExtensions")Once you have that class created, add extension methods that you would use within your Views....
Description: This code will demonstrate how Session objects can be persisted to the View in an MVC applicationsNotes: There are three objects that this code is working with.   1.  ShoppingCart (this is a container for ShoppingCartItems)   2.  ShoppingCartItem (this object has details about the item in the cart)   3.  Product (used to get information to populate the ShoppingCartItem)
Description: These are a few examples of how to register routes Notes: Eamples:         public 
Description: ViewBag is new to C# 4.0.  It is a dynamic feature that is like the ViewData in that it should only be used to persist temporary or small amounts of data.  You should still try using proper View models. Notes: From a personal standpoint, you should try to avoid using ViewBag or ViewData in a true Enterprise level application and use a strongly typed object (ViewModel).  This will also lead to better testing.