How to Build a Data-Driven Line of Business Website in Five Minutes
Check out the January Issue of MSDN Magazine where James Henry shows how you can build a data-driven Website in five minutes.
In the article Build a Data-Driven Enterprise Web Site in 5 Minutes, James provides the keys to building a database application that Creates, Reads, Updates and Deletes (CRUD).
He uses ASP.NET Dynamic Data Entities Web Site project type in Visual Studio to take advantage of ASP.NET Routing and Entity Framework.
He shows you how to use Entity Framework to create the one-to-many relationships in the object relational mapping.
Next he shows you step-by-step on how to use ASP.NET Routing to respond to URLs that do not physically exist, For example, two URLs—https://mysite/Employee and https://mysite/Department—could be directed to a page at https://mysite/Template.aspx. The page itself could then extract information from the URL to determine whether to display a list of employees or a list of departments, with both views using the same display template.
He then shows how to use ASP.NET Dynamic Data to change the name of a displayed entity so you do not need to display the table name in your user interface.
He uses a MetadataType attribute to provide additional metadata to a class so that you can display the date portion of a datetime.
And more. The end result is an application where you can enter, update, display and navigate through your data.
Use it to verify that your database design does what your users want it to. Or as a quick way to build a database application.
More in MSDN Magazine
Other topics in the January edition include:
- Windows Foundation 4: Authoring Custom Control Flow Activities in WF 4
- Visual Studio: Use Multiple Visual Studio Project Types for Cloud Success
- Workflow Services: Scalable, Long-Running Workflows with Windows Server AppFabric
- Silverlight Exposed: Using MEF to Expose Interfaces in Your Silverlight MVVM Apps
- Parallel Computing: Data Processing: Parallelism and Performance
Bruce D. KyleISV Architect Evangelist | Microsoft Corporation