Kullanıcı Girişi
Kullanıcı Adı

Ders Kategorileri

Bilgisayar Öğr. :


Detaylı Bilgi...


Ne Yapacağız?

Here are two screenshots of the application you`ll build. You will have a simple table of movies with various columns. Aşağıda iki tane ne yapacağımıza dair ekran görüntüsü bulunmaktadır.

Movie List - Windows Internet Explorer (12)

And you`ll have a Create Form so we can add movies to the list.

Create a Movie - Windows Internet Explorer (2)

 Öğreneceğin Yetenekler

Bu ders notunda sizler visual studio da temel asp.net mvc web uygulamasını öğreneceksiniz.

This tutorial will teach you the basics of building an ASP.NET MVC Web Application using Visual Studio. You`ll learn:

  • How to create a new ASP.NET MVC Project Nasıl mvc projesi oluşturulur
  • How to create a new Database with SQL Server  sql de veri tabanı oluşturma
  • How to create ASP.NET MVC Controllers and Views
  • How to retrieve and display data
  • How to edit data and enable data validation
  • How to update the database schema


Start by running Visual Web Developer 2010 Express (I`ll call it "VWD" from now on) and select New Project from the Start Screen.

Visual Web Developer is an IDE, or Integrated Developer Environment. Just like you use Microsoft Word to write documents, you`ll use an IDE to create applications. There`s a toolbar along the top showing various options available to you, as well as the menu you could also have used to Select File | New project.

Microsoft Visual Web Developer 2010 Express

İlk projenizi oluştururken

You can create applications using Visual Basic or Visual C#. For now, Select Visual C# on the left, then pick "ASP.NET MVC 2 Web Application." Name your project "Movies" and click OK.

New Project

On the right-hand side is the Solution Explorer showing all the files and folders in your application. The big window in the middle is where you edit your code and spend most of your time. Visual Studio used a default template for the ASP.NET MVC project you just created, so you have a working application right now without doing anything! This is a simple "Hello World! project, and it is a good place to start for our application.

Microsoft Visual Web Developer 2010 Express

Select the "play" button to the toolbar.

Start Debugging

It`s a green arrow pointing to the right that will compile your program and start your application in a web browser.

NOTE: You can instead press F5 on your keyboard, or select Debug->Start Debugging from the "Debug" menu.

This will cause Visual Web Developer to start a development web-server and run our web application (there are no configuration or manual steps required to enable this). It will then launch a browser and configure it to browse the application`s home-page. Notice below that the address bar of the browser says “localhost”, and not something like example.com. That`s because localhost always points to your own local computer - which in this case is running the application we just built.

Home Page

Out of the box this default template gives you two pages to visit and a basic login page. Let`s change how this application works and learn a little bit about ASP.NET MVC in the process. Close your browser and lets change some code.


 Yazının devamı için http://www.asp.net/mvc/tutorials/getting-started-with-mvc-part1

 Yazar : Sinan KESKİN 2263 Tık Yazılım ve Bilişim Paylaşmak Güzeldir