Questions tagged as 'asp.net-mvc'

2
answers

Send email using ASP.NET

I would like to know how to send an email using ASP.NET. The idea is to click on a button called send and send an email from [email protected] (personal) to [email protected] (business). Thank you.     
asked by 11.04.2016 / 23:33
1
answer

Load txt file through a list c #

I make a query in the database and put it in a list, then I scan each list item through foreach to query other tables according to the Id of each line covered. If found, I would like to load a txt file for each line queried by jump...
asked by 19.11.2015 / 14:26
2
answers

Problems with ValidationSummary - Asp.Net MVC

I have problems with ValidationSummary in my application that manages Courses , I have a screen where the student enrolls in a course and if he tries to enroll in the same course the Student already enrolled in the course message should app...
asked by 14.06.2015 / 06:31
1
answer

Learn ASP.NET without mastering C #? [closed]

Basic question. I want to start programming for web with asp.net mvc, however I know very, very little C #, just the basics of language. Would it be a bad deal to start with asp.net and go catching the C # language as it progresses through ASP.N...
asked by 09.05.2015 / 00:45
1
answer

How to make an MVC 6 application available (AspNet 5)

I worked with ASP.NET for a while and I do not have much knowledge on the infrastructure part, I always published my apps through visual studio and then on the server, I added a new application through IIS, but all that changed in ASP. NET 5 (Vn...
asked by 13.05.2015 / 13:16
3
answers

How do I request post via AJAX?

I can not access my action through the ajax request: <legend>Procedimento:</legend> @Html.HiddenFor(p => p.CodigoProcedimento, new { id = "codProcedimento", name = "codProcedimento" }) @Html.HiddenFor(p => p.CodigoPe...
asked by 29.01.2015 / 15:01
1
answer

Display a button based on the action of another

I'm a beginner in ASP.NET MVC I have a project. And within a given view I have two buttons. However, one of them can only appear if the other is executed. 1 > Save (save car) 2 > Associate a dealership (it can only be activated wh...
asked by 17.10.2015 / 22:38
1
answer

Exception when generating Controller with Entity Framework

In my application using Asp.net mvc , with Entity Framework 6 , with Mysql , when trying to add the Controllers , Views , using EF , I get the following error: Myweb.configSettings:<connectionStrings><addname="MyEntities" conne...
asked by 08.08.2015 / 21:59
1
answer

Wrong message in webservice integrating with ActionScript

I'm doing a restful application in C #, in which I will receive a request via post and will return a JSON or a string for the requester. [HttpPost] public string confirmahora() { String OUTPUT = "mensagem";...
asked by 18.11.2014 / 13:39