Referencing Classes in Core Project from WCF Service Project
I have a WCF service that acts on domain classes in my Core site. Since Core doesn't produce a dll I can't include a reference to them in my service project. I've resorted to declaring them in both...
View ArticleCore CLI confusion?
This will probably be the 1st of many questions. I'm asking about the .net cli as it relates to asp.net core 1.0. I was keeping up until version (RC2) where i think the .net CLI was introduced and...
View ArticleHow to automate the task in Task Scheduler if it is in remote machine?
I am looking for a way through which 1. I can check the status of the task in Task Scheduler which is in Remote machine.2. Also if the task is not running then instead of running it manually I want to...
View ArticleNuget for ClientAssertionCertificate class in asp.net core to connect to AAD...
Hi ,We are trying to connect to AAD to get access token/jwt token using Certificate instead of using Client Secret in Asp.Net Core application . But Microsoft.IdentityModel.Clients.ActiveDirectory...
View ArticleHow to isolate dynamic code / assemblies without appdomain
With .NET 4.5 I created an extensible web application. With executes at run-time certified code from third parties.For this, I use app domains and inter-process communication.Now I saw that a lot of...
View ArticleHow to Pack / Reference "old" assemblies in 1.0 Tooling
I've heard that the tooling with ASP Core will change one more time (deprecating the project.json and so on)Are there any informations about the planned way to reference "old" 4.* assemblies in core...
View ArticleUser.Identity.Name Outside a Controller
I am trying to get the thisUser.Identity.Name,I can get it in the controllers, but I would like to know if it can be done outside a controller on a simple class, Somethikng like thisPublic string...
View ArticleHow to test code in Asp.net core project, in controller class in a controller...
I have an ASP.net core project, using controllers and models, I have a ValidatePromoCodeApi class , [HttpGet] [Route("/ValidatePromoCode")] // [SwaggerOperation("ValidatePromoCodeGet")] //...
View ArticleError in case of up-dating of packets Nuget.
Hi!PATH=.\node_modules\.bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\git C:\Program...
View ArticleWhat is [FromServices]
I saw something somewhere like[FromServices] public Data Data { get; set; }I can't find the definition of it.
View ArticleThere were no solutions found.
So i just created a .net core app on my mac and pushed it to a git repository on Visual studio.com. Great worked just fine the code is there.Then i opened Visual Studio on my PC and connected to the...
View ArticleVersion of Dot Net Framework
I do have framework 4.5 installed on my machine but I see only 4.0 and 2.0 showing up in the dropdown when I go to "Edit Application Pool"What do I need to do to fix it so I can select 4.5? I am...
View ArticleCode first approach for SQLite data source
Hi,I have some problem while mapping foreign key in Code first approach for SQLite.Table:CREATE TABLE Employees ( [EmployeeId] INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, [FirstName] NVARCHAR(20) NOT...
View ArticleConnecting to databse? [EF Core] [npgsql/PostgreSQL] [Identity]
Hello all,I've created a project through the wizard with the template ASP.NET Core Web Application, authentication: Individual user account. I then installed Npgsql.EntityFrameworkCore.PostgreSQL.Now...
View ArticleAzure Storage Nuget Package
Does anyone know what Nuget package to download for access Azure Storage from Asp.Net Core?"Connected services" is not going to work for me: 1.) It installs a bunch of packages that are incompatible...
View ArticleHow to call a REST Service from Asp.net Core?
HttpWebRequest seems to be missing. How do we call a rest web service in Asp.Net Core?
View ArticleHow should I do to make my DI register code more clean?
I am using the default service container in asp.net core 1.0 rc2. In my project, I need to register many services, like code below. //for all type not inherit...
View ArticleRedirecting one project to another project in same solution Asp.net-How to...
I Have Three projects in a same solution Project 1,Project 2 and Project 3. Project 3 contains single login page for both the Application (Single Database) once i click login button in project 3 it has...
View Articlehow to change /Seach?name={string} to /Search/{string} during get method?
<form asp-controller="Product" asp-action="Search" method="get" class="navbar-form navbar-left" role="search"><div class="input-group"><input type="text" name="name" class="form-control"...
View ArticleThe project doesn't know how to run the profile IIS Express
Hi,after switching to RC2 (following these guidelines: Core RC1-to-RC2) I can not start the project, but the message: "The project doesn't know how to run the profile IIS Express"Any hints?Thanks Bo
View Article