Quantcast
Channel: ASP.NET Core
Browsing all 9386 articles
Browse latest View live

Dynamically assign Id to inputs

Hello I am creating Dynamic input, using For loop, the number of created input varies. I need to assign an Id to each created input with prefix for example, name input will be name1, name2 email input...

View Article


ASP.NET AJAX Returns Null even with a [FromBody] attribute

Dear Sirs.Please Help. I'm new in Ajax what I'm doing wrong.Do I need some action on startup.cs ? or ..Here is a Controller Code        [HttpPost]        public IActionResult MyMethod([FromBody] int...

View Article


How to update value progress bar bootstrap from controller?

Hi all!Can you help me "How to update value progress bar bootstrap from controller?"Thanks for support!Brgs

View Article

ASP.NET CORE Azure Blob Upload Control

Dear Sirs. Please Help me to convert the code for using in ASP.NET COREhttps://code.msdn.microsoft.com/Silverlight-Azure-Blob-3b773e26...

View Article

CRUD operations using single HTML file in .net core application

HiI am trying to create a .net core application using entity framework. I would like to have all CRUD operations in a single HTML file. When I try to put it together, I am getting an error saying my...

View Article


Which book i selected for learn javascript ?

hi there is a lot of books for learn javascript in internet , but i want a book teach me  step and step from beginner to professional ,, i can't read a book and Later understand that this book is not...

View Article

ubuntu - targets" was not found. Confirm that the path in the declaration is...

hi, this is my first coding C#, i'm in Ubuntu 16.04, i've already have dotnet intalled in my machine,i make my first boilerplate project with https://aspnetboilerplate.com/Templates, and cd...

View Article

New templated project fails build in console

Hi.I just created a new project using Visual Studio 2017, on the template 'ASP.NET Core MVC application' + Individual User Account Authentication.The project builds perfectly in Visual Studio, but in...

View Article


How to handle the kill signal

a console application,How to handle the kill signal?

View Article


Receiving base 64 image in Web API

I have to create a Web API (I'm using ASP.NET Core 1.1), and one of the things it needs to be able to do is t receive a JPEG image (and later also other document types such as PDF). The front end...

View Article

HTTP Error 502.3 - Bad Gateway using Azure Blob PutBlockAsync

Dear Sirs.I'm Trying to upload large file to Azure BLOB it works on small files but in large file I got error Module: AspNetCoreModule Notification: ExecuteRequestHandler Handler: aspNetCore Error...

View Article

Visual Studio Scaffolded controller actions

When using the "Add Scaffold" to create a new "API Controller with actions, using Entity Framework" on as ASP .NET Core 1.1 Web API, it generates the following:// GET: api/Users [HttpGet] public...

View Article

Custom Authorization Service

Hi,Currently I have a business layer that handles authorization, it will take User Name, Controller, Action and decides whether the user has access or not:bool Authorize(string controller, string...

View Article


Logger not working with type arguments

On an ASP.NET Core 1.1 Web API, when using ILogger in my controller, this works fine:public class UsersController : Controller { private readonly SharedDataContext _context; private readonly ILogger...

View Article

Cannot log to Windows Events system on .Net Core 1.1

'm trying to add Event logging to an ASP.NET Core 1.1 Web Api (running on Windows Server 2012) as such:public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory...

View Article


Javascript error occurs discontinuously

Hi everyone, I am developing with a Visual Studio 2015 an Asp.Net core MVC project and in one of the razor pages there is the following javascript code:<script>...

View Article

Connection to Network Server in ASP.NET Core

this is what I used to connect in .NET Framework App<connectionStrings><add name="ARTSQLConStrng" providerName="System.Data.SqlClient" connectionString="Data Source=EMBRYOLOGIST;Initial...

View Article


Problems Using Novell LDAP Library With .NET Core

I'm looking to use the Novell LDAP library (https://github.com/dsbenghe/Novell.Directory.Ldap.NETStandard) to query Active Directory, and have things working, but with one weird issue... I can query a...

View Article

enforcing custom headers

I am struggling to find a way to enforce a custom header in the Web API I am building using ASP.Net Core.  I know we can validate if the custom header entry and value exist but I am curious if a way...

View Article

Nuget JS files

Whenever I install a package from nuget i can see it as a reference only but i cant see JS files in my root lib, Only bower packages install files in that dir, any reason why?

View Article
Browsing all 9386 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>