I'm learning to program an application based on MVC4 and Bootstrap. Right at the beginning of the project I came across a puzzle:
In _Layout.cshtml I had <link href="css/bootstrap.css" rel="stylesheet"> , Bootstrap worked fine i...
I'm starting to study Angular2.
As I'm working a lot with .NET I've decided to do a project with ASP.NET MVC 4 and Angular2.
Reading the hello world of the Angular I noticed that the Angular has its own route mechanism, which would in a w...
How to pass text or index from a DropDownList to Controller at the press of a button?
I tried using @model and could not.
I tried by adding [HttpPost] to Controller and using the submit button and it...
I'm developing a system using ASP.Net MVC and Entity Framework.
How do I not allow equal data to be written to a table? For example, do not allow login: x to be registered more than once.
I have the following situation, I need to make an XML file available to be viewed in browser , without the user having to download the file, I do this by saving the file in a directory and then I send the directory of this file and the browse...
Good afternoon guys,
Next, I need to validate if one of two fields is filled, I tried to create an Attribute function with ValidationAttribute but it did not validate correctly, I think jQuery.validate does not recognize it.
Follow the cod...
After I go to Project > Add > New Folder, rename the folder and put classes inside it I can no longer reference it in another file, for example if it were to be used in a controller , I would use as always I used the
using nomeProjeto.N...
Recently, I asked a question about my problem, but it was kind of difficult to understand, here I will try to summarize my problem.
I'm using ASP.NET MVC.
I have 2 tables: Autores and Livros , where 1 Autor has many...
I have a class where I have saved a configuration key being key and value, however I need to get the value of that key and pass it to my cshtml page. I'm having trouble with this.
I've already passed the class path, but I can not refer...