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

remove parent node

ho to remove parent node?<test1>1</test1><test2>2</test2><remove><test3>3<test3></remove>it should be like:...

View Article


Method not found: 'System.Web.UI.HtmlControls.HtmlGenericControl

On our website we are trying to dynamically create a number of <link> tags in our header (creating canonical tags). The original code used HTMLGenericControl to do this but it created a close...

View Article


ASP.NET core WCF CONTENT TYPE ERROR

Hi To All,    I am working on ASP.NET core recently. I am connecting to WCF web service using connection service extension. I successfully added the reference of my service in my project. The problem...

View Article

problem with additional layout page

I would like to make a layout page based on the view shown below, with the content in the div with class "form-group" inserted in the resulting content pages. Or better yet, I'd like to make all the...

View Article

How do I get route values from inside a View Component controller?

I have a View Component in _Layout.cshtml. My application has a route of /home/{id}. How can I get the id value in my URL route from the View Component controller?public class LayoutViewComponent :...

View Article


Action parameter show incomplete URL in form tag in area.

Regards. I use this tag i a view to show form:<form asp-area="Admin" asp-controller="Account" asp-action="Login" asp-route-returnurl="@ViewData["ReturnUrl"]" method="post"...

View Article

Preventing click event propagation in parents containers ...

Hello everyone, I have a problem with the trap once the click of a html element "li" in javascript, with the following code when I click on an element "li" of folder 4 is unleashed on the click event...

View Article

How to add reference to legacy .NET assemblies?

Hello: I'm using VS 2017 and I'm trying to use ASP .NET Core for building a REST API.How would I reference a legacy .NET assembly in ASP .NET Core?I referenced an existing assembly and when I try to...

View Article


Does Angular2 can directly access the images under app folder ?

<div class="vote"> 0down votefavorite<div class="favoritecount"></div> </div> <div> <div class="post-text" itemprop="text">I am using a jquery theme in my ASP.NET...

View Article


Manage with javascript expansion, collapse and click on the tree structure

Hello everyone, I have already realized the tree in pure javascript my file system, however, can not handle the expansion and collapse of a node, or rather I would click with the mouse on "+" and "-"...

View Article

Send emails with translatable content using mailkit in ASP.NET Core.

Hi, I'm looking for a way how to send emails with translatable content using mailkit in ASP.NET Core.Is it possible to use XSLT/XML or should I use another solution?Thanks in advance for any advice !

View Article

VS 2017 RTM - Asp.Net Core web app - F5 -> localhost is currently unable to...

Hi, I created a new Asp.Net Core Web App. The app is running fine from dotnet run command or the .exe I would debug it directly from Visual Studio with F5 in IISExpress or the .exe When I press F5,  a...

View Article

Can't debug a Asp.Net Core Web Application in VS2017 enterprise with F5

Hi, I can't figure how to follow the steps I saw in doc + video:from (VS 2017 enterprise) - new Project Asp.net core web application (.Net Core) - Web Application (Authentication -> Individual) -...

View Article


Getting error with VS 2015 for asp.net core

Hi ,I created one asp.net core project using .net core sdk 1.1 and when tried to open that using VS 2015 getting below mentioned error, could someone please help me with this.."the default xml...

View Article

Can I put Asp.Net Core standalone application icon in system tray?

I have an Asp.Net Core application that I have run as a service.  I could also run it as an exe, but it leaves the black command window up while it is running. Ideally I would like to have it run...

View Article


Confusing and Conflicting Date Conundrum

I have a model including two different dates.  Both these dates are set up similar to each other in the model.[Required] [Display(Name = "Booking Date")] [DisplayFormat(ApplyFormatInEditMode = true,...

View Article

Problem with double backslash in the file path after json serialization ...

Hello to all, i have a list of objects contain information on file including the path and I thought to provide a javascript json string, unfortunately the paths within the string after creating the...

View Article


How to write at the end of response stream asp-net

I want to add a variable at the end of each Response .So in the base page handler i written some thing like thisprotected override void OnPreRenderComplete(EventArgs e) { base.OnPreRenderComplete(e);...

View Article

Replace HTML tags.

I would like to parse my JSON file which contains kay-value pairs and replace tags in my HTML.So the API gets a JSON file e.g.:{"myValue1": "value1","myValue2": "value2","myValue3": "value3", }and I...

View Article

How to create custom control (Grid) in ASP.NET Core

I am new to ASP.NET Core, I need to create a custom grid control, Can anyone please provide the steps to create a custom control in ASP.NET Core?

View Article
Browsing all 9386 articles
Browse latest View live


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