How can i consume an Asp.Net Core serivce from a diffrent .net project using...
Hey.after creating an old asp.net service, we were able to consume it in a different project using the add service reference tool. it would create the proxy api and objects.is there a way to do the...
View ArticleHow to bind three table for a display table in Asp.Net Mvc 6
I want to use aspnetuserroles, aspnetusers and aspnetroles to display a new view model, in sql query as follows:SELECT [dbo].[AspNetUserRoles].[UserId], [dbo].[AspNetUserRoles].[RoleId],...
View ArticlePublish simple webapp fails and Error not found on the internet
Here is the output: 1>------ Build started: Project: GpsTracking, Configuration: Release Any CPU ------ 1> 1> Build succeeded. 1> 0 Warning(s). 1> 0 Error(s). 1> 1> Time elapsed...
View ArticleGlobal config files in asp.net Core - best practice
My application has 9 projects/APIs running in parallel.Today I have separate config.json files in each project. They are almost the same, all of them.I want to use a global config.json file. As I see...
View Articlesave file to database using IFormFile as datatype
using System.ComponentModel.DataAnnotations; using Microsoft.AspNet.Http;namespace tamam.Models { public class User { [Required] [MinLength(4)] public string Name { get; set; } public string Address {...
View ArticleASP..net 5 RC1 Virtual Directory Deployment
I am creating an MVC app using ASP.net 5 RC1. When I deploy the app to IIS as a web site, the site works fine. When I deploy it as a virtual directory under the Default Web site, it doesn't work and...
View ArticleCascading DropDown using MVC6 rc1, JQuery, Ajax, JSON
Hi I am creating a Cascading DropDown using MVC6 rc 1, JQuery, Ajax, JSON, the code is as below, but I got a issue with retrieving selected data from the the sub dropdown list 'Site' populated by...
View ArticleHow to generate EDMX file for EF6 in ASP.Net5 (Database first approach)
I am trying to use EF6 is my ASP.Net5 application, I installed the package from Nuget but I am not getting any template to generate the EDMX file. I found couple of article that talks about code first...
View Articlewebapp hosted on ubuntu server works really slow
I'm hosting my app on Ubuntu 14.04 server and what bothers me is that it loads really slow.http://188.166.160.66/ is the link to my app as I don't have domain for it yet. Demo preview isn't impletented...
View ArticleHow to configure connection string in MVC 6 in ASP.NET vNext
Hi,I have created one MVC application in MVC 6 framework in ASP.NET vNext. In my application i am reading database table using Entity Framework,but the connection string whichis present in config.json...
View ArticleFile upload in MVC6 with drag and drop behavior
I need to upload files in MVC6 with drag and drop behavior. It means user will not browse through and select a file - but rather drag and drop the files from his pc to a section of web page.I got this...
View ArticleHow to create persistent header with every call
Here is my problem. I need to have a persistent header value added to each request that hits our IIS server. The value will be used by our 3 party application.We have successfully used a cookie to do...
View ArticleHow can I add ADFS support to ASP.NET 5 project?
I have an ASP.NET 5, MVC 6 project that I have to retrofit so that it can authenticate with an ADFS server. I have seen some examples of adapting the OWIN approach of ASP.NET 4.6 to ASP.NET 5 (i.e. an...
View ArticleAsp.Net Core hosted IIS with custom Url
Hello Everyone,I have hosted my Asp.Net Core Website on a Windows Server 2012 on IIS. It runs locally on the server.In the Log it says: "http://localhost:31244"How and where do I change that, so that I...
View ArticleCannot create a new asp.net 5 project
I have installed VS 2015 community Edition, run dnvm upgrade and was able to create asp.net 5 Projects. Then I installed VS 2015 Professional and when I create a new asp.net web app it Fails with error...
View Articlevirtual ICollection can not be scaffolding
hello,in the model when i use [ForeignKey("ItemId")] public virtual ICollection<DepartmentItem> Items { get; set; } when i try to create controller i get the following errorThe navigation 'Items'...
View ArticleASP.NET MVC Core with KendoUI Grid
Hi All,In my project using kendo ui grid on MVC Core,I have a issue when show data on grid as below An unhandled exception occurred while processing the request.<div class="titleerror"...
View Articlecontinuous delivery and continuous improvment with Microsoft?
What concept in Visual studio or tool in Microsoft can provide in relation to continuous delivery and continuous improvment?Thinking about the same approach as JenkinsThanks!
View ArticleIs there a globalized reference design for ASPNET 5?
I need to do the following:1. Create site supported in the 200 languages supported by Windows 102. Attach a database to each localized site.3. Add support for disqus4. Support fluid/responsive design...
View ArticleNeed Recommended cloud server
1.windows 2012 2. America area3.static IP one4.remote desktopwhere can i find it?
View Article