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

ASP.Net Core 2 Razor page error

Dear All,I get these set of errors each time I create and compile a new Razor Page in a web application project as follows:Severity Code Description Project File Line Suppression State Error CS0234 The...

View Article


Creating a 'Setup Application' Process

Hi,First post here, so be gentle!I am creating a service ticket application just to learn the ins & outs of ASP.NET Core, and I am thinking about how I would go about creating a set up process for...

View Article


Deploying aspnet core web app on a windowservercore image

Hi, I'm running on Windows Server 2016 Standard Evaluation version (Build 14393.rs1_release.161220-1747). Its enabled for containers and i'm able to run windows server core image on my machine from...

View Article

how to update a record with optional items

Hello.I have a table in db:Id, title, imageurlIn add view I get IFormFile for image url and get the relative path and save image url it is ok but in edit view I want to edit this record and I want to...

View Article

AZURE Cloud Storage

I am trying to connect to Azure Storage to upload an excel file and then read/load it into a radgrid.  I have set the necessary assemblies but receive an error.  This is what I have done up to this...

View Article


Users and Roles admin style

Are there any open source websites I can look at that has an Admin area with Users and Roles and which roles the users belong to, with Controllers and Views?

View Article

.net core web deployment package as winows app

Hi, I am working in asp.net core app and my client he need this app as IIS hosted and standalone both version.the web version is easy that is nearly finished now when we  are using standalone version...

View Article

Lambda expression tree parameters

I am trying to understand how lambda expression trees works.Here is a sample of code:Expression<Func<Table1,bool>> left =(x =>...

View Article


Equivalent of php $_GET / $_POST / $_REQUEST

Hello,I know the equivalent of PHP $_GET["param"] is Request.Query["param"].The equivalent of PHP $_POST["param"] is Request.Form["param"]but what is the equivalent of PHP $_REQUEST ? i mean looking...

View Article


Post Multiple Rows from Html.BeginForm to Controller

Hello I need to post multiple rows of  to IActionresult, I am currently using Ajax to post it But I would like to use @using (Html.BeginForm("Test", "myController", FormMethod.Post)) {}I am using loop...

View Article

HTTP API requests within context of an 'User' or 'Organisation' best practice

My ASP.NET Core project responds to incoming web requests from a user.I'm wondering what is considered best practice if (for example) the user wanted to find out some information about themselves (such...

View Article

How to convert old hashed passwords to new password format in Asp.net Core

HiWe are converting our MVC 4 application to Asp.net MVC Core Identity. In old application we were saving hashed password and password salt in database and actual password is not saved anywhere. Now we...

View Article

Expression.Or with multiple parameters

Hello,I want to build a linq/ef expression tree.I need to make an Or between multiple binaryexpressions.Expression.Or, Expression.OrElse takes only 2 arguments.If i combine multiple Expression.Or, a...

View Article


How to use jquery ajax multipart/mixed in asp.net core web API controller for...

How to use jquery ajax multipart/mixed in asp.net core web API controller for batch editing process

View Article

How to set proxy in BasicHttpBinding

Hi,I have problem with setting proxy in ApiControler what comunicates with other WCF service.WCF client still ignore proxy setting.My code is:A. BasicHttpBinding binding = new BasicHttpBinding();...

View Article


Core TagHelper Changes

I was following the below link for a script helper.https://weblogs.asp.net/ricardoperes/encrypted-javascript-in-asp-net-mvc-coreAnd it looks like changes were made between versions.  Can this work in...

View Article

Asp.net core app crash when ConnectionResetException is thrown

Hi, Recently i upgraded my asp.core app from v. 1.0 to v. 2.0, but after the migration i keep seeing ConnectionResetException in the logs, and once this exception is thrown the whole asp.net core app...

View Article


regarding using session in asp.net core

i read this article http://www.c-sharpcorner.com/article/how-to-use-session-in-asp-net-core/i saw they add session related code twice public void ConfigureServices(IServiceCollection services) {...

View Article

Failover Partner Support

I am trying to connect to a database on a server that operates as part of a pair. If one server is down the other is there as a backup (Failover Partner). Replication is enabled between databases on...

View Article

Best practices for Unit/Integration

Hi,When implementing Unit tests and Integration tests, are we supposed to create a separate project within the same solution of the tested project?Or Should it be integrated in the same project under...

View Article
Browsing all 9386 articles
Browse latest View live


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