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

Upload files to database and return them

HiI am trying to find out how to upload files and store them in the database using .net core 2.1, I don't want to save the file on the server and save the path in the database, like all the examples I...

View Article


ODBC with ASP.NET Core 2.2

Hi FolksI'm developing an application ASP.NET Core 2.2 on .NET Framework 4.7.2 that needs access to SQL Server, MySQL, Sap Hana, and DB2 thruODBC. I have installed the ODBC Driver on Windows, the user...

View Article


403 forbidden error after publish ASP.NET Core

Hi,I published my project ForOffer to web hosting server using Web deployment method via Visual Studio 2017. I've entered all server details and publish was successful. (see https://prnt.sc/n1tlmb)...

View Article

Value cannot be null when no records saved for partial!

Hi AllI have a main edit page consists of a lot of partial views called in it, When I'm trying to update data on the main edit page itself or any of its partial data, The data is updated successfully...

View Article

Custom RazorPages Location Formats (Name Patterns)

Is it possible to change the name pattern used for RazorPages like it is possible for Razor MVC Views?You can change the MVC Views name pattern like...

View Article


Reasons for cross platform and performance in asp.net core

After studying asp.net core for a while, Here are the conclusions that I could come of:It is fast: The reason according to me is the new request pipeline and middleware things that are modular and...

View Article

A few API questions

HiI am changing my web app from mvc to core, and I am changing from razor to angular.I have started building and would prefer to put my API in a seperate project to the angular, whats the best way to...

View Article

Get cookies from external website after authentication

Hi All,I have been a C++ developer all my life. So i am new to asp.net and web technologies as such. I need to develop a small cross-platform application, which will basically open an external website....

View Article


Introduction to Reactive UI: what can it offer our companies?

<div class="fusion-title title fusion-sep-none fusion-title-size-two title-about fusion-border-below-title">About the webinar</div> <div class="fusion-text">This webinar will provide...

View Article


ASP.Net 4.5 to ASP.Net core 2.0.1 migration issue of Authentication

Hello Developers, I am new to ASP.Net core 2.0.1, i studied the architecture of Authentication and identification in core framework,i facing some problems during migration, please help. In the...

View Article

Migrate Console App to .Net Core

One of my Client wants to migrate a console app (having System.Web dlls) to .Net Core. Do we have any relevant mapping tool which shows corresponding methods of System.Web to .Net Core. Currently .Net...

View Article

Missing files in Publish folder

When publishing a web application all the files / assemblies get copied to the published folder. I have a console app, with System.Web dll's referencing it. While publishing the console app, there are...

View Article

Asp.Net Core 2.2 - HTTP Error 500.0 - ANCM In-Process Handler Load Failure

<div>I'm developing an application in Asp.Net 2.2.</div> <div>I made the application public via FTP.</div> <div> </div> <div>When I access the service with my...

View Article


Re: Asp.Net Core 2.2 - HTTP Error 500.0 - ANCM In-Process Handler Load Failure

This was happening to me when I was trying to webdeploy a dotnet core 2.2 into an IIS server. Another thing that worked for me but isn't necessarily right is to actually change the handler in the...

View Article

unknown error while processing HTTPS certificate

Hi! I'm trying to build a .NET Core server that uses a HTTPS connection.I created a self-signed certificate using dotnet dev-certs tool and set up Kestrel like this: return...

View Article


Is there any way to do an integration test with .net core (TestServer) and...

My WebApi is write in .NET Framework, but i like to use the new integration test using .net core, becouse TestServer to make a server in memory is so fantastic and easy to use. But when i try to start...

View Article

Checking DateTime equality to DateTime.Now failed.

Hi guys,I have posts with expiration dates. I wanted to check that if the ExpirationDate is equal to DateTime.Now, remove that post from database in order not to get it in view from there. I added the...

View Article


Error In OrderBy OnGet Handler

Hello,Using ASP .Net Core (2.2) Razor Pages (non-MVC)I have a "Person" Class (Id, FirstName, LastName, etc....)In my OnGet Handler, in the Index.cshtml file,  I am getting an error, on the .OrderBy...

View Article

Is there any js script or any method to export into excel and pdf from the...

Hi I am trying to export the record   into excel and pdf   .  Have you any suggested script or code to export in to excel from the Model  or from the  List variable. If you have please can you advise...

View Article

how can I show a part of the view from the controller

I have two  <Div>s in an html, 1. ReportSection 2.  ExcelSection in AttendanceReport view html. When I call the view from controller , the DivID   Excelsection  should not be  execute. Rest of...

View Article
Browsing all 9386 articles
Browse latest View live


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