Questions tagged as 'asp.net-mvc'

3
answers

How to validate CPF with DataAnnotation on Client and Server?

I need to validate CPF with Data Annotation , and check for duplicity.     
asked by 02.03.2014 / 16:40
2
answers

What is a ViewModel in ASP.NET MVC?

I'm used to the MVC approach to frameworks like CakePHP and Laravel. Now that I'm delving into ASP.NET MVC, I'd like to understand what this ViewModel is for. What is the purpose of ViewModels?     
asked by 07.06.2018 / 18:31
1
answer

How to do SignalR load test?

When testing with the SignalR library to create real-time applications in .NET, some scalability concerns were generated which could not be found on the internet. After some tests using Crank (load simulator) , I saw that a relativel...
asked by 12.12.2013 / 00:35
1
answer

Date problem with globalize.js and jquery.validation.globalize.js. How to solve?

I'm having problems with the date fields of my application. Followingthisresponse,whichIfoundtobethemostappropriate, Error message in datetime field , I set up my ASP.NET MVC application as follows: I installed the jquery-globalize packag...
asked by 28.04.2015 / 15:48
1
answer

Parameter passing with Asp.Net MVC

In asp.Net MVC . What's the difference between using ViewBag, ViewData e View Tipada ? And when should we use them, is there any specific situation? Is there a performance difference between them?     
asked by 29.08.2016 / 14:36
1
answer

Failed to recover factory COM class CLSID

I developed an application on my pc that does the following: from an upload of a word document, it generates a new document with some basic information. To generate this information, it opens the template document, finds a tag that exists in tha...
asked by 13.03.2015 / 21:13
2
answers

What can I do in .Net Framework and .Net Core? And vice versa

I grew my eye on .Net Core (ASP.Net Core), I started with C #, but I left by going to the "open-source" side, now with this opportunity I decided to go back ". I intend to use .Net Core (ASP.Net Core) in a personal project and in the future t...
asked by 04.10.2016 / 05:59
3
answers

MemoryStream vs Stream

What would be the main difference between the two? Are there any advantages to performance gain? For web use, which one is the right one? I am using to "read" an array Byte[] : private void bytetoStrem(byte[] pdf) { Stream...
asked by 05.08.2017 / 15:39
2
answers

Selectize.js with Tags, reload key and value in edit form

   I asked the same question in SO Gringo too . I'm doing a search form ( action=GET ) where a field uses Selectize.js: $("#selectize").each(function () { $(this).selectize({ plugins: ['remove_button'],...
asked by 07.12.2015 / 18:46
2
answers

Routing and Url friendly with asp.net mvc

How do I make routing and url friendly (dynamically) in my web application using asp.net mvc 5 ? Currently I have the url: http://myapp.com/Produto/Details/7 And I want to apply the routing in it so it looks like this: http://myapp.c...
asked by 23.08.2015 / 16:24