Individual user account
Hi everybody id just notice that when you create a new asp.net core project web api the "individual user account" is greyed so i was wondering when do individual user account will be avalaible for asp...
View ArticleI want to pass a random list to my strongly typed view please help
As the subject says, I literally am just trying to pass a variable, which is a list, to a view which is strongly typed. Please help
View ArticleGUI not starting
I am quite new to ASP.NET core. I am building a webapp in .net core to self host a API that will connect to a serial device, so I am using thefull .NET Framework version of ASP.NET Core for now to have...
View ArticleHow to get return url in asp.net core
I need return url during login and need to redirect to the same path. I am authorizing user using ActionFilterAttribute like below method public class AuthorizationAttribute : ActionFilterAttribute {...
View ArticlePublish an ASP.NET Core v.1.1 to a remote server
Hello,I'm trying to publish an ASP.NET Core v.1.1 project to a remote server but although I am setting as destination url the url of the website I want to publish to, Visual Studio 2015 Update 3 keeps...
View ArticleLimiting accessing Web API to application
We're building a cross-platform app using Ionic and using ASP.NET Core WebAPI hosted on azure. We are using Identity authentication system but we need to restrict access to this API to our application....
View ArticleAutoupdate?
Has anyone had any luck in creating a auto updating asp.net core application?I am building a self-hosted application, so it would be nice to have the application update itself.I've looked at...
View ArticleXslCompiledTransform or Similar
Hi ThereI'm trying implement XslCompiledTransform in asp core, after reading in many forums and documentation, thinkXslCompiledTransform is not supported for now , has someone been able to...
View ArticleQueryString Parameters with french characters not decoding
I have a legacy application calling a ASP.NET Core API passing addresses as a querystring parameter. Sometimes these addresses contain French (fr-CA) characters. The application URL encodes the address...
View ArticleUsing Angular 2 in ASP.NET web forms project
Is it possible to use Angular 2 in ASP.NET Web Forms project written in C# ? Also, I have a Web API for my data which I want to use in my project.
View ArticleCascade Drop Down - Still giving me trouble- Jacvascript not firing I think???
Controller:// GET: Equipments/Create public IActionResult Create() { ViewData["ConditionID"] = new SelectList(_context.Conditions.OrderBy(e => e.EqCondition), "ConditionID", "EqCondition");...
View Articlesplitting a form between partial views
I would like to have two partial views in which I can put the beginning form tag in one and the ending in another, so that I can place content between them:@{await...
View ArticleRedirect page is not working in Unauthorized Access ( 401 )
Hi,How we can ridirect the current page When user access the Unauthorized content. Index PageWhen I click on the "Click" button in Index Page, Then It will redirect to Home controller.<div...
View ArticleAsp.net Core EF Update
Hi all,I follow Building Your First Web API with ASP.NET Core MVC and Visual Studio, but I got error below at _context.TodoItems.Update(item);An exception of type 'System.InvalidOperationException'...
View ArticleWhat is Micro service in asp.net core
please get me good explanation for what is Micro service ?when we use Micro service ?web api or wcf will be used to develop Micro service ?please guide me in details with easy way with example because...
View ArticleI can not open the site's home page just published ...
Hello everyone, I have finished to develop a site with ASP.NET 1.1 core and I published on an IIS 7.0 server, the windows server is public and has a certificate. I followed the indications of the...
View ArticleReusable Info in Layout
Hi,I'm trying to put together a layout that will always display certain pieces of user information (username, signedintime, etc...). I would rather not have to hit the database every time the page...
View ArticleEnvironment Variable in Class Library
Hi!I'm trying to create a class library in my solution, and I want it to access the Environment Variable, so I can choose the correct db connection string. Does anybody know how to do that? Since my...
View ArticleAssigning Null value to Nullable Integer Values
using System.IO; using System; class Program { static void Main() { int? i; string st="NULL"; i= Convert.ToInt32(st); Console.WriteLine(i); } }Why I'm getting an exception?
View ArticleGood hosting providers for asp.net core
My webhosting is about to run out, and I'm looking to see if there are better alternatives. I am using smarterasp.net. I'm fairly happy with them.I'm thinking about https://www.interserver.net/They...
View Article