Web-Developer
HomeWindows/IISDHTMLRankingIndex ServerContact me 
 


 

Wisconsin Web Developer

Your best choice for a Sheboygan Web Developer. 15 years of development and architecture experience brought to your eBusiness solutions. If you want to succeed on the internet you need the enterprise knowledge and experience that we bring to the table.
BLOGS:  | SQL Server BLOG |  Web-Developer Blog | 

What's New?

 
I want to subscribe.
Your Name
E-Mail Address
Security Code
T   <<       7/10      >    >>  
S M T W T F S
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
             
Make a Donation. Help me keep this site running and your articles a coming: The usual donation is $5.00 US.
7/27/2010 12:20:00 AM
Microsoft MVC VB.NET example 

Introduction

I wrote this article because there is little information about MVC for VB.NET developers. Most of the MVC examples and videos from the ASP.NET website are C# centric. I encourage you to watch the videos here http://www.asp.net/mvc/ once you see this working in VB the C# syntax will be easier to follow.

Background

Microsoft MVC is really cool! MVC is short for Model-View-Controller a modern way to organize data centric projects that makes a lot of sense for web development. I first came across MVC development when learning Ruby on Rails (ROR). I felt it was a fast and flexible way to quickly model and build applications, it just seemed to fit my style. I was quite elated to see MVC in Microsoft technology because I develop using Microsoft technology every day. To be frank; the model in Ruby on Rails is fastly superior to the current MVC 2 implementation in terms of how much code is generated for you. In ROR the scaffold mechanism can build an entire MVC application from a database model in just a few commands typed from the dark place. At this point Microsoft MVC takes a little more work, but it sure is fun!

What are the Model View and Controller?

Model - This is your database design schema as you might draw it up in a database diagraming tool. In this article I use the tools built into Visual Studio 2008 to build the database. To connect to the database I use LINQ to SQL.

View - These are the web pages, the front end code that shows the data from the database it presents forms for editing, and tables/grids for data. You can quickly generate views for the primary CRUD operations (Create, Read, Update, Delete).

Controller - The controller is where all the programming takes place.

About LINQ to SQL (LINK TO SEQUEL)

I choose LINQ to SQL because it brings the database selection logic to the programming language level and does all the dirty work to translate that code into database level code. Once you build your model you work with tables as objects. All the basic CRUD operations are readily available. It is a very slick abstraction.  

Downloading the MVC Framework

You need to download the MVC framework from Microsoft.

Building your First MVC Application

 

 
|< <-  [ 1 2 3 4 5 of 53 ]  -> >|

Sheboygan Web Developer

Over years of building web sites and portals for corporations like Culligan International, USFilter Corporation, Ametek, Broan, Nutone and Pentair I have come to realize the truly important aspects of a website. A great web design has the following attributes:

  • Professional and Modern Look
  • Easy and intuitive for visitors
  • Recognizes that quality content is more critical than anything
  • Easy for web-site owner (creator of the quality content) to maintain
  • Have rich content like FAQ lists, Product Catalogs
  • Provide ways to interact with visitors and customers (forms, and forums)
  • Do things behind the scenes for the web site owner to help them succeed
  • Must work to hide the complexity of web design and allow singular focus on content
  • Integrates with external web services
  • Must keep hosting and maintenance costs low

Content management tools help to answer some of these but often fall short. I have developed one that answers all of these, and more. My content management tool, Aditus Sitebuilder and when you are impressed, hire us to build your custom template for as little as $199.

Why Sheboygan Web Developer?

Ok why do I keep calling myself a Sheboygan Web Developer? Because that's where I live and grew up, it's the enviornment that has nurtured me into web development. I have telecommuted to all of the corporations listed above for years so I understand all the details behind the remote management of the web site. Another reason is that we have a truly awesome provider in Charter Business networks. We can scale my infrastructure to 30Gb with 99.997% availability. My experience also lets me manage your remotely hosted servers right here from Sheboygan Wisconsin.

What can we provide? Web Hosting, Web Design and a simple interface that lets you build your site from a template. Think about when you start a new document in Microsoft Word. That blank page is actually a template stored in a .dot (Document Template) file. The page layout, font, header and footer are all stored in a template so when you start the document those settings are loaded into your new blank document. Sitebuilder does that but on steroids. Imagine you had a tool to create and manage a product catalog, FAQ list, Survey, and Service Request built in--that's Sitebuilder.  All that from a Sheboygan Web Developer!

Sheboygan Wisconsin Web Developer Links

Sheboygan Wisconsin Web Developer
Sheboygan Wisconsin Web Hosting with Sitebuilder
Free Survey Builder