|
Post by Admin on Feb 9, 2014 21:40:37 GMT
|
|
aisha
New Member
Posts: 8
|
Post by aisha on May 8, 2014 10:38:08 GMT
Hi Admin I have a question in the minute 11:19 why did u put user.Name instead of user.Login u used Login in all other parts
and also another question I don't have a folder called entities I have the classes only in the app folder so instead in putting ( using Entities;) what shall I put ?
|
|
|
Post by Admin on May 8, 2014 15:03:01 GMT
Hi Admin I have a question in the minute 11:19 why did u put user.Name instead of user.Login u used Login in all other parts and also another question I don't have a folder called entities I have the classes only in the app folder so instead in putting ( using Entities;) what shall I put ? Hi Aisha The folder entities is entirely optional. It helps to keep your classes and files organized, but is not required. In theory, you can put the classes that I put in my Entities folder anywhere in your project and the website should still work. Do keep in mind though that it's a best practice to keep logically related classes grouped in separate folders. About the user login - name question. That's probably an oversight on my part. I create the tutorials over a number of days. In one of the final stages of production I probably must have decided that it would be better to use 'Name' instead of 'login' and forgot to update it in the rest of the video. Sorry about that. When in doubt, reference the code in the downloads. The downloads will always contain the latest and most optimzed set of code
|
|
aisha
New Member
Posts: 8
|
Post by aisha on May 10, 2014 12:27:15 GMT
when I execute the website and press log in button this page appear
Server Error in '/' Application. WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive). Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidOperationException: WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).] System.Web.UI.ClientScriptManager.EnsureJqueryRegistered() +2178762 System.Web.UI.WebControls.BaseValidator.RegisterUnobtrusiveScript() +10 System.Web.UI.WebControls.BaseValidator.OnPreRender(EventArgs e) +9710049 System.Web.UI.Control.PreRenderRecursiveInternal() +83 System.Web.UI.Control.PreRenderRecursiveInternal() +155 System.Web.UI.Control.PreRenderRecursiveInternal() +155 System.Web.UI.Control.PreRenderRecursiveInternal() +155 System.Web.UI.Control.PreRenderRecursiveInternal() +155 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +974
|
|