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

Changing a PageModel property without using handler in Razor Pages

I'm developing a web application using Asp.Net Core Razor Pages.On the page model I have the following property: public class SchoolModel : PageModel { [BindProperty] public School SchoolEdit { get;...

View Article


How to bind sales header model to collection of sales Footer on SalesOrder...

ProblemHow to bind sales header Model to collection of sales Footer on SalesOrder controller using asp.net core 2.1 ?I work on project have Sales Order form this form contain to :salesHeader...

View Article


Web server doesn't see my controllers and gives 404 error

Hi all,I published my web site via web deployment (to a2hosting).However some controllers turn 404 error and I couldn't find what is the reason behind it.Some says controller itself may cause an error...

View Article

Which nuget packages are must for Web deployment

Hi all,I have a .net core mvc app with MySQL entitity framework. I am having difficulties while deploying it and I wanted to be sure to include all necessary packages.I have...

View Article

Best bundling and minifying package and usage.

Hi all,There are lots of options out there for bundling and minifying.But one of them will be the most useful. Could you tell me which one is the best (for you ) and how can I use it.I liked this one...

View Article


Difficulty in running Asp.net core web app in solution that previously...

Dear All,I have a solution that contains loasd of my asp.net project as a matter of fact I started building this solution with VS2013 before asp.net core came out. But since I have vs 2017. I copied...

View Article

No data saved in the partial view!

HiI'm trying to save data updated on the partial view called in Edit action.I have these models:Nz Class:using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations;...

View Article

How to get scanned image via Twain driver in a .net core project

Hi all,I need a piece of code which is able to get an image (preferably pdf) from a scanner. Do you have any?Thanks

View Article


.net core create word document create and download

I have Project Of .net Core and i need to create a custom word document.Like: simple "Hello Word!!"Thanks In Advance.

View Article


Error while deploying Core App on Debian/Linux

I am trying to upgrade a previously installed/running Asp.net core (self contained) application on a Debian vm. After I copy the new dlls and test with dotnet path-to-my-app.dll I get this error, which...

View Article

Connecting to a third-party SOAP service with .NET Core 2.0 behind a proxy

Trying to connect to a third-party SOAP web service with .NET Core 2.0 behind a proxy. With .NET Core 2.x I have the only option to create a WCF Web Service as a Connected service, however the Proxy...

View Article

Image may be NSFW.
Clik here to view.

Login Form Partial View in ASP.NET Core 2.2 Razor Pages

How to make the Home Index screen of my Asp.Net Core 2.2 application get to the following setting.My Home Index with the following settingI am already registered<partial name = "_ MyPartialLogin"...

View Article

How to get text of label from database dynamically vertically ?

ProblemHow to get text of label from database dynamically  vertically ?so that when user or change text no need to change any thing on interface or ui code for labelso that i get text from reference...

View Article


second page not reached on IIS

On IIS Express my application calls from a table like this <td><a href="/PageX?nata=@Html.DisplayFor(modelItem => item.theKey)" class="btn btn-info"   and so forth ....But when I published...

View Article

data-bind is successful but the actual value is not being displayed

public enum OwnershipType { Buying, Owns, Renting, [AS400Value("Other")] Boards, [Display(Name = "Live with Relative"), AS400Value("Other")] LiveWithRelative, Other }EDIT sscreen where I select the...

View Article


How to check for null and empty?

I'm wondering what is the right way to check for null or empty entries in controllers in asp.net core and c# in general.There are so many instances where I have to check this for various scenarios:From...

View Article

Verify Code For Forgot Password in Asp.net Core

Hi,in asp.net core when user click reset password ,send email to him for reset password page but i want when user click i want send code to phone then verify it and redirect to Reset Password View for...

View Article


Difficulty in running Asp.net core web app in solution that previously...

Dear All,I have a solution that contains loasd of my asp.net project as a matter of fact I started building this solution with VS2013 before asp.net core came out. But since I have vs 2017. I copied...

View Article

Insert Full Html into Razor Page or ?

One of my  razor pages has a full blown HTML page for a model variable<div><pre>@Model.TheHMLText</pre></div>   -  HTMLText comes with its own head and style content....  so...

View Article

Allow writing elements inside a custom tag helper

Hello!I'd like to know if it is possible to write a custom tag helper such as:<preparation>    <h3>I need to put elements here!</h3></preparation>To get rendered into:<div...

View Article
Browsing all 9386 articles
Browse latest View live


Latest Images

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