Questions tagged as 'asp.net-mvc'

0
answers

Unexpected failure. The system may be momentarily unavailable or a one-time error has occurred

I am researching to develop an invoice query facilitator from the NFe Farm website so that the recipient can consult and download it. I have created a GET request by bringing captcha to use the site's own security validation, and the...
asked by 09.03.2017 / 19:39
1
answer

Mount RegEx to change string json

I have the following string, which will actually be treated as a json , stored in a column in the database in my SQL Server : {"PT":"adssadsadsd "asdada"","ES":"","FR":"","EN":""} How do I automatically change the string to lo...
asked by 01.03.2017 / 16:52
0
answers

ERR_CONNECTION_TIMED_OUT when executing Project by Visual Studio

I'm having this error while running my project. I already looked for this error in other sites and I did not find answers.    Can not access this site       Localhost took a long time to respond. Search localhost 4294 Shared   Google layout...
asked by 21.04.2017 / 22:18
1
answer

Consume web api with several models

In this my question Doubt GET WebApi I face some error due to relationships . But now taking it as a basis on account of my models, how could I consume this service? Because the Table1 model has relationships and I needed to bring them to the...
asked by 30.03.2017 / 03:41
1
answer

How to keep option after refresh - asp.net

I have a select, some options and a jquery code that does not change the select, updates the screen with the data of the chosen option. The question is, how do I maintain the option after the window.location? Note: I'm using Asp.Net Code...
asked by 30.03.2017 / 22:39
1
answer

FullCalendar C #

I would like to open a modal when I click on a calendar day. script: <script> $(document).ready(function () { $('#calendar').fullCalendar({ header: { left: 'prev,next today',...
asked by 13.03.2017 / 12:53
1
answer

Is it more correct to use the Master-Detail concept?

I have a situation that I would like to use the most correct (elegant) way to implement. The scenario is as follows: I'm building a HelpDesk system where Tickets are stored in a table (and consequently has its own Model) and the Ticket evolut...
asked by 18.03.2017 / 13:27
0
answers

ASP.NET MVC on linux (mod_Mono, apache)

I'm trying to run my ASP.NET MVC application on a CentOS 7 system. After installing the mono and verifying that I can run using XSP, I'm having difficulty configuring mod_mono in apache. You are currently giving the following error: Service Unav...
asked by 21.02.2017 / 15:06
0
answers

Permission on directories for the entire domain

I'm trying to create a folder and give it read permissions: public static void createFolder(string path) { DirectorySecurity securityRules = new DirectorySecurity(); securityRules.AddAccessRule(new FileSystemAccessRule(@"EMPRESA\accoun...
asked by 26.07.2017 / 19:55
2
answers

How do I disable Forms Authenitcation for the Web API?

I have an Asp.Net MVC project and inside it has the Api web, when a request sends an invalid token, the forms authentication redirects to the login page, but I need it to only return an Http 401 error as it is an Api Rest. I already tried to use...
asked by 03.02.2017 / 17:24