Syncing offline data to online data store via Web API
I am developing a Web API using .Net Core 2.0. This will serve as the back-end for a phone app front-end being developed in IONIC 2. The app is a simple data capturing app. The requirement for this...
View ArticleProblem with SignalR Progress Bar
Hi allI have problem with signalr progressbar, update progress bar with id connection, but all progress bar updatetedPls help me fixer problem, thanks all!HUBpublic class ChartHubs : Hub { public...
View ArticleNodeService: Regarding calling node.js function from server side function
i read one nice article from http://rion.io/2017/08/22/nodeservices-where-javascript-and-net-meet-back-on-the-other-side/Rion show how to call node.js function from server side function see a...
View ArticleASPNET core and bin folder
Hi, Sorry for being rather dumb, but I am using VS for Mac and I have some json files in wwwroot that I need to deserialize. In production mode this works, however, in development mode the files are...
View Articlehow to use aspnetuser primary key in a custom table
Hello Allhow to use aspnetuser primary key as a foreign key in a custom table in Asp.net core
View ArticleAutomatically calling method after application start
What is a best way to automatically call a method after application start on asp.net core web API?
View Articlemeta title content dynamic
Hello,I've a label below. I would like to use same id ID="lblJobHeading" for the meta name to generate meta content dynamically. Please advise. <asp:Label runat="server" ID="lblJobHeading"...
View ArticleEFC Unittesting without InMemory Database using NSubstitute for mocking
For unit testing I want to use the more common way creating a mock for my DbContext. To get this working I created a FakeDbSet that implements DbSet<TEntity>, IQueryable<TEntity> and...
View ArticleFrom JavaScriptSerializer to Newtonsoft.Json
Hi everone,For a client i'm updating a Exact Online API. In this API they use the old ASP framework. Now i get a lot of errors in my code and one of them is a error at JavaScriptSerializer. This isn't...
View ArticleHow to get the JSON fields in all lowercase
Hello: I have a ASP .net Core service that returns data directly from SQL Server as a JSON. See sample result below. Depending on how the stored procedure is written, the column names are mixed in...
View ArticleGet Web App Configuration Settings Stored in Database using .NET Core 2.x
I'm still new to .NET, and am struggling with something, and hope someone can help me out...I'd like to shift some of my web application settings (that are currently in my "appsettings.json" file) out...
View ArticleRegarding Asynchronous ASP.NET Core 2 Web API
i was reading a article on Asynchronous ASP.NET Core 2 Web API from this web sitehttp://www.mithunvp.com/fully-asynchronous-aspnet-core-2-web-api/the author show with code that how to develop...
View ArticleHow to deploy and run asp.net core on linux and Mac OS
need a step by step details to run asp.net core based web application on linux and Mac OS.please share some good links
View ArticleDownload Files using Core
Hi,In MVC 5, I use the code below to download/stream a file but what is the equivalent in Core?[HttpGet]public FileResult DownloadFile() { string fileName = $@"\folder\filename.pdf"; string...
View ArticleRead Bytes in Core
Hi,Below uploads a physical file using Core, but how can I Read the bytes that is saved to db?[HttpPost]public IActionResult UploadFiles() { long size = 0; var files = Request.Form.Files;...
View ArticleASP.NET Core minification
I have written two simple web projects...The first site is up and running using the standard template layouts... this site is fine.The second site, I added some CSS to site.css (background image), I...
View ArticleCannot upgrade from 1.1.2 to ASP .NET Core 2.0
Hello: I have an ASP .NET Core Web Application (.NET Framework) which works only on Windows taking advantage of full .Net framework. It is using AspNetCore version 1.1.2I now see that ASP .NET Core 2.0...
View ArticleControlling Raspberry Pi 3 GPIO from .NET Core 2.0 app
Hi, I'm working on a school project and I just got confused with all the technology out there.The project consists (at least that's what I imagine at the moment) of: Hardware part - Raspberry Pi 3...
View ArticleFeedback on unit of work and repositories
Hey, I've tried to implement the repository pattern with unit of work found in this example in the docs for my asp.net core 2.0 app.I'm unsure if I did it correctly and i would be very happy on getting...
View ArticleOne to one chat in signalr
HI i am new to signalr and i want to build one to one chat using signalr in Asp.net core..AnY link regarding this?
View Article