Questions tagged as 'asp.net-core'

0
answers

How to configure client validation in an ASP.NET MVC 2.0 application to recognize standard pt-BR

I am having difficulty configuring client-side validation of my application. I would like client validation, using jquery.validate.unobstrusive , to accept numbers and dates located in pt-BR. I've already done this in the startup...
asked by 08.12.2017 / 17:27
0
answers

Integration PagSeguro NopCommerce 4.0

Hello, I have not played with pagseguro for some time and a friend asked to do integration with the new version of Nop 4.0 core 2.0, before in MVC 5 the XML configuration was: private static string urlXmlConfiguration = HttpRuntime.AppDomainAp...
asked by 22.11.2017 / 12:33
2
answers

Save Image to Database with C #

Hello I've seen the example Upload image for picturebox and write to the database but I did not understand that part: FileStream Stream = new FileStream(imgLocation, FileMode.Open, FileAccess.Read); What would this imgLocation be? I...
asked by 28.11.2017 / 17:58
0
answers

Service Worker caching an asp net core 2.0 application

I can not meet the specifications of progressive web apps because my service worker does not cache the web app. Follow the code: self.addEventListener('install', e => { let timeStamp = Date.now(); e.waitUntil( caches.open('...
asked by 12.10.2017 / 14:51
2
answers

How to integrate ASP.NET MVC Core with Vue.js?

I have a project that requires the client side to use Vue.js to render application views, but on the server side it is intended to use ASP.NET MVC Core to validate all business rules. Is there a way to integrate both technologies?     
asked by 14.08.2017 / 19:09
1
answer

Error CS0246 when creating a new asp.net mvc core application

I have a problem, when creating a new asp.net-core project in visual studio 2017 the following error appears when compiling:    Error CS0246 The name of the "System" type or namespace can not be   (is missing a using directive or a   assembly...
asked by 05.09.2017 / 18:01
0
answers

How to change the default folder of an ASP .NET Core application?

I'm trying to set up an ASP .NET Core Web site to host an AngularJS application. The structure that my "index" page is using is: /wwwroot/app/index.html I tried some settings in the Startup.cs file, like this: app.UseStaticFiles(ne...
asked by 02.08.2017 / 18:23
0
answers

Webapi (.NET Core) has no performance gain when I use async

I'm implementing an api asynchronously, but I have not seen much gain in performance. I used RESTful Stress for Chrome to do my tests, I just did not see performance gain when I use async. I thought this would increase the number of concurrent r...
asked by 10.02.2017 / 21:36
0
answers

Open subpages in a given space AspNet Core

I have a page where I use @renderBody to open my main pages, however the need arose to get a submenu and I need the following pages to be opened in a certain space, but when I launch the asp-controller asp -action it opens at the @re...
asked by 10.09.2016 / 03:50
0
answers

Problem in System.Data.SqlClient when upgrading to 5 core aspnet

I updated all my project to aspnet 5 core because I was using the dnx vnext and apparently it worked everything right, but by conducting tests I noticed that some values did not come correct and to debug I realized that the parameter array SqlPa...
asked by 09.08.2016 / 16:16