Questions tagged as 'asp.net-mvc'

3
answers

Validate field after typing in ASP.NET MVC

I have a registration page in ASP.NET MVC with Entity Framework, this register has an indication field, where you must be informed the nickname of the user that indicated. I wanted to type this field after the user validate in the ASP.NET con...
asked by 07.03.2017 / 05:06
2
answers

How to reference an external library?

I have a project in Asp.Net MVC where I would like to add some new libraries. They are available for download as .dll , but are also available on Manage NuGet Packages . What is the best way to add the library to the project by addi...
asked by 03.12.2015 / 19:40
3
answers

Error Calling Jquery function

I have the following button: <button class="btn btn-default details" data-id="@fornecedores.Codigo"><i class="glyphicon glyphicon-file"></i></button> On the same page I have the following script: $(document).ready(...
asked by 10.09.2015 / 21:23
2
answers

View with IEnumerable and EntityFramework

I have a Sales entity and it has several fields ( IdItem, SalesDate, SalesValue, DiscountData, CustomerId, IdCategori, and etc). I already have all Views working for this CRUD entity.) Now I'm going to create a new View where the Client...
asked by 25.05.2016 / 19:06
2
answers

Inner join in entityframework

I need to do an inner join on the entity framework in the database, I can do this normally: select * from Produtos inner join ProdutosEmpresas on ProdutoID = Produtos.Id But in the entity framework I can not, it does not appear in the table...
asked by 14.11.2018 / 12:23
2
answers

How do I always keep my URLs in lowercase?

I want all URLs on my site to be lowercase to help with SEO and for consistent link sharing. How can I do this?     
asked by 12.12.2013 / 15:08
1
answer

Relationship between different context classes Entity Framework

I have a problem saving an object because it has a relationship in a different context, I would like to know if there is a way to solve this problem.     
asked by 08.06.2015 / 20:48
1
answer

Controller routing and actions in lowercase

How to make the controllers and actions routes all in lowercase? For example: instead of Noticias/Details get noticias/details .     
asked by 31.07.2015 / 14:38
3
answers

asp.net serving static files

I have an application in mvc3 (asp.net 4.0, dotnet 4.0), running on iis8 (but it's also running on iis 7 and iis 7.5). Within the application I have a folder called /dados example localhost/minhaapp/dados . My clients save HTM...
asked by 13.01.2015 / 18:02
2
answers

ASP.NET vNext in Apache

I've heard enough that ASP.NET 5 will work not only in Windows but also Mac and Linux. I would like to know if you have how to run ASP.NET 5 applications on the Apache server. I researched a bit but I did not find anything recent talking about t...
asked by 25.12.2014 / 02:01