MVC Getting Started Video Tutorial
Jun 22, 2010
I'm new to ASP.net and used the on-line demo under the getting started section to try and build my first MVC app. [URL]. This is a great video and is just the kind of thing I need to help me learn as I hate reading though books! However I have gone through this tutorial 3 times now and I can't get it working. Well, I follow it step by step and get the following error. The only difference is that I am using Visual Studio 2010. Being new to this I need to become familiar with all the standard error messages but at the moment they are all foreign. This is my FriendsController.cs I'm not sure if I need to post the other files as I know the database is setup ok.
The error message is:
Error 1 'HelloWorld.Models.FriendsDB' does not contain a definition for 'Friends' and no extension method 'Friends' accepting a first argument of type 'HelloWorld.Models.FriendsDB' could be found (are you missing a using directive or an assembly reference?) C:UserssleoniDocumentsVisual
Studio 2010ProjectsHelloWorldHelloWorldControllersFriendsController.cs 19 52 HelloWorld
[Code]....
View 3 Replies
Similar Messages:
Sep 3, 2010
im looking for ecommerce development video tutorial. I already watched related video tutorials on ASP.net website.
View 2 Replies
Aug 20, 2010
i am new to technology so go easy on this post according to what i read from web there are 3 type of custom server controls 1 superclass2 composite 3 renderedi found video tutorial for superclass custom server control but couldnt find video tutials for other 2.lease forward me link for composite and rendered custom server controls video tutorial
View 1 Replies
Aug 20, 2010
according to what i read from web there 3 types of custom server controls
1. composite
2.superclass
3.rendered
i found video tutorial to create and use superclass custom control in your project (extending dropdown control functionality)
i am trying to search video tutorial for other 2 types .
View 1 Replies
Jan 12, 2010
Now i'm currently trying to code a basic website as a project and i've run into problems regarding a search video function. having searched through the forum i still could not find a solution.What i intend to do is to have a video search web service in my website, perhaps something like this:http://www.google.com/uds/solutions/...rch/index.html. however from my limited understanding the codes provided is unable to work with VS2005? Is there a basic template that i could follow and implement for a video search function for youtubes video?
View 8 Replies
Sep 6, 2010
What is the best and easiest-to-use video player for popular video extension in asp.net?
View 1 Replies
Feb 10, 2011
I want to post few videos on a website but i don't want to use youtube or any other website.
I want to have an in-build player on the webpage with video in it - how to accoplish that ?
View 4 Replies
May 4, 2010
When using a modal popup extender along with an embedded video, the popup is hidden behind the video in IE but works as expected in FF.I've tried manually setting the z-index of the popup to a huge number and the z-index of the video object to 1 but this makes no difference.
I've put the code for a sample page below.
[Code]....
View 2 Replies
Jan 10, 2010
Where should i start before using F#? What are the Learning curves in F#? What should developers moving from C# watch out for when they move to F#?
View 4 Replies
Feb 26, 2010
I created a simple page using the code provided by this page (the first sample): [URL] But I can't seem to get it to work, I can redirect to the provider but when the provider redirects back to my page, I get error 500, "The request was rejected by the HTTP filter". I already checked ISAPI filters which I have none.
View 2 Replies
May 19, 2010
I'm taking my first stab as using AJAX. I'm starting with a simple example to update the time when a textbox changes. So I added the following at the top of my content page's placeholder:
[Code]....
And then, lower down, I added an updatepanel.
[Code]....
But nothing happens. I edit the textbox and tab out and nothing updates and nothing changes.Am I missing a web.config setting or something that I can't find reference to in all the articles I found? I'm using VS2010 and .NET 4.
View 2 Replies
Jan 25, 2010
Are there any good resources and sites related to developing with SharpSVN and normal SVN/VisSVN I've so far only come across a few samples that deal more with JIRA.
View 1 Replies
May 11, 2010
can i get a good example.. in order to get started with shopping cart.. how long it's gonna take while implementing it..?
View 5 Replies
Mar 12, 2011
I am planning to create a Customer Relationship Management (CRM) application. I have to use C# and Visual Studio 2008. What is the best approach to get started and what resources can I use to make this process easier?
View 2 Replies
Feb 23, 2011
I have very much experience of asp.net developement. But i have never dealt with https. In my one project i require 2/3 page with https. So please any one can explain me how i can start with https. Please explain me in detail about about developement cycle, and any other if there is any settings.
View 2 Replies
Mar 3, 2010
Today is my first day using ASP.NET MVC, and I'm finding it very intriguing. I only just started learning asp.net.
So basically I'm trying to call a procedure from an MSSQL database, and with it I need to send a paramater "PlaceID", which is an integer. This procedure basically just picks out a number of columns from different tables in the database. Here is the Linq to SQL code
The ultimate goal is to be able to retrieve all the information and return it as JSON with a function that will be available for a javascript.
I'm wondering what is the best way to proceed from here. I know I have to create a view, but I'm still unclear exactly on how I can call the procedure and make it store all the information. I could really use some help on this, some code examples would be excellent. I already wrote a C#.net function to convert a datatable to JSON using a stringbuilder, but I get the feeling there is a smarter way to do things.
View 1 Replies
Dec 3, 2010
I am looking into creating an API for a website and I'm not quite sure where to get started.
1) Do you have any basic starting point resources when it comes to API and asp.Net. Maybe I am searching for the wrong thing? Is an API a web service?
2) When you create an API for a website. Do you host the api and the website in the same location? Or do you isolate the website from the API?
View 7 Replies
Mar 1, 2010
I am trying to figure out how to get DotNetOpenAuth(http://www.dotnetopenauth.net/) working in my webforms app
I don't understand where to begin. I have an OpenIDSelector on my Login.aspx that lets you choose google or Yahoo. You can choose one, then a popup comes up, and lets you login. Once you login the program hangs because it is trying to do something with a database???
Can't I just use some control(like the OpenIDSelector) and get back that the user was authenticated, get their ClaimedID and handle the rest myself?
EDIT: Trying to get started with OpenID in Webforms? Go Here...
http://www.dotnetopenauth.net/developers/code-snippets/programmatic-openid-relying-party/
View 4 Replies
Feb 19, 2010
Thus far working with asp.net webforms was very easy .... But never implemented URL Routing in webforms... I know asp.net MVC Handles URL Routing pretty well... How to get started with URL Routing in an asp.net webform application? For EX: [URL] i want it to be like [URL] Any good article to start with URL Routing asp.net 3.5
View 1 Replies
Nov 2, 2010
I'm not really a developer but I have experience in PHP, Java and want to have a go at developing some really simple SharePoint web parts (for WSS 3.0, MOSS 2007 and in future 2010).I assume it requires knowledge of ASP.NET. Should I start learning C# or get stuck straight into web parts.
View 3 Replies
Mar 7, 2011
I have just been told to get looking into using SQL server reporting. Does anyone have any good links they would recommend? can this be used for reporting on ASP.NET sites?
View 1 Replies
Mar 30, 2010
As I was trying to create an MVC 2.0 application and map nested areas, I ran ran into a lot of issues mapping routes. So, after I troubleshot all of the bugs, I decided to make a screen cast.Solution Files can be access here: MVC 2.0 AreaRegistrationContext RouteMap Demo Solution FilesVideo tutorial of how to Map Areas.[URL]
View 3 Replies
Feb 8, 2010
give me an example of foreign key mapping & class description cause I don't get it.
View 4 Replies
Jul 5, 2010
I followed the tutorial at [URL] At 12:04 in the video, the author, Stephen Walther. inclues the line return View(_entities.MovieSet.ToList());
When I tried to compile this I get an error: Error 1 'MovieApp.Controllers.MoviesDbEntities' does not contain a definition for 'MovieSet' and no extension method 'MovieSet' accepting a first argument of type 'MovieApp.Controllers.MoviesDbEntities' could be found (are you missing a using directive or an assembly reference?) P:experimentMovieAppMovieAppControllersHomeController.cs 18 35 MovieApp If I just enter return View(_entities. then Intellisense offers Equals, GetHashCode, GetType, and TosString.that _entities is not being interpreted because of insufficient referencing? My (introductory) understanding is that it is looking in the DataModel.edmx (or the entities design surface) for DataMovies. In an earlier part of the tutorial, we created a datamodel called Movies. In the DataModel.edmx Model Browser, I can see EntityContainer: Movies. So, then, why might _entities not be seeing this?
In looking at the model browser, it also contains an Entity Set called Movie1. However, I tried using
return View(_entities.Movies.ToList());andreturn View(_entities.Movies1.ToList()); But neither compile. What should I change to get the program to compile?
View 13 Replies
Jan 27, 2011
I'm looking for a website or a tutorial of some kind to help me get started on this part of my project. I need my intranet website to use the already in place active directory. However, I have never done this before and have no idea where to start.
View 3 Replies