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

manipulate images in Blazor Client-side

Hi there,I need to change resolution of an Image on Blazor Client-Side.I tried with this code: public static class IncreaseImgResolution { public static async Task<string> IncreaseDpi(string...

View Article


.Net Core 3.1 connection to Dynamics GP Web Services will not work. Is there...

I have tried to use the Microsoft WCF Web Service Reference Provider to create a connection to GP Web Services from inside a .NET Core 3 web API project and am getting an error stating "No endpoints...

View Article


How can I generate blob URL by .net core without Azure?

As we know, now many websites(such as youtube) play their video with blob format for they don't want any other people to download the video easily.Now I want to play the video with blob format by .net...

View Article

Razor Pages Vs MVC apps

I am wondering why Microsoft is pushing these Razor Pages Apps over MVC. This is very annoying and concerning to me. I'm going over the "Recommended Learning path" in the Overview...

View Article

Image may be NSFW.
Clik here to view.

How to intercept errors generated in DotNet.js - Blazor Client Side

Hello guys,I´m getting out of memory error on DotNet.js because I´m trying to upload a too big file.My question is how I can Catch the error in Blazor Client ?Thanks for help

View Article


asp core 3.1 identity login dowesn't work and shows samesite warning

<div>I just finished my asp .net core 3.1 project. and i was trying to deploy it onIIS. So first i scaffolded Asp Identity and it createdidentityHostingStartup and other files. And published the...

View Article

Asp Core 3.1 Identity Example doesn't work

This example no longer works:https://docs.microsoft.com/en-us/aspnet/core/security/authentication/identity?view=aspnetcore-3.1&tabs=visual-studio#migrating-to-aspnet-core-identityIt used to, but it...

View Article

Index form to contain import and export to excel actions

@model IEnumerable<StudentAttendance.Models.Staff><div class="row"><div class="col-md-3"><h4 style="display: inline">Staff List </h4><h4 style="display:...

View Article


ASP.NET 3.0 : 'Unable to resolve service for type...

I am upgrading my ASP.NET 2.1 Application to ASP.NET 3.0, While running I am getting error as ''Unable to resolve service for type 'Microsoft.Extensions.Logging.ILogger`1[Application.Startup]' while...

View Article


Upgrade from .Net Core 2.2 to 3.0 gives Internal Server Error for SignInManager

Hello,    So I upgraded from my MVC from .NetCore  2.2 to 3.0.  After making the required changes to the Startup.cs and Program.cs, then all the models and controllers.  I ran a build and had no...

View Article

Invalid URI: The format of the URI could not be determined when accessing...

Dear All,   I've two applications, one of the application build version under 4.5.2 which supports Dynamics CRM 2016 SDKs. another one project which I'm currently building under .NET CORE 2.2 version...

View Article

ASP.NEt 3.0 : FormattedLogValues

Below is the line of code which was running well in ASp.NET 2.1 but after upgrading from 2.1 to 3.0 it throws errorvar formattedMessage = new FormattedLogValues(message, values).ToString();What is the...

View Article

WebAPI: why does it use MVC namespace and classes?

Hello,I'm pretty new to the WebAPI world.So far I've read some great articles on how to create and call WebAPI; however, I'm still a bit puzzled about one thing: even if we create "just" a WebAPI, not...

View Article


An unhandled exception occurred while processing the request.

I am getting error while running my .Net core 3.1 Application<div class="titleerror">TypeLoadException: Could not load type...

View Article

Unable to seed my table in mysql for authorisation in asp.netcore 3.1

Dear All,I am using mysql has my database. I actually dont have this problem when I use MSSQL. so the issue is I activated my project to use the default authorisation scheme which is meant to create...

View Article


anonymous User with password-protected link in asp.net core 3.1 - is...

ok - so im trying to do something like vimeo.com where a private video can be accessed by just inputting a password so for example if you go here:https://vimeo.com/392083444 you get a simple password...

View Article

How to insert multiple record to database at a time by ajax in asp.net core...

I want to save records in two model where one model can get single row and second model can get multiple row. Please help me to resolve it.controller: PatientTestsController.cs[HttpPost]...

View Article


ASP.NET 3.0 IhostBuilder does not contain definition of UserKestrel

I have ASP.NET 3.0 Application, I am getting error as IHostBuilder does not contain definition of UseKestrel. Can I Use UseKestrel or ConfigureKestrel In ASP.NET 3.0 ?  

View Article

can i abstract to a base class then override to a generic class?

HiCan i do something like thispublic abstract class SomeBaseClass { public abstract OtherBaseClass SomeProperty {get;set;} } public class SomeClass<T> : SomeBaseClass where T : OtherBaseClass {...

View Article

Multiple file upload

I would like to upload a variable list of files in ASP.NET Core MVC. So, I create dinamically with jQuery a list of:<input type="file" name="a_file" id="a_file" class="d-none" />All with the same...

View Article
Browsing all 9386 articles
Browse latest View live


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