Category Archives: ASP.NET MVC

ASP.NET MVC

javascript template for ASP.NET MVC

Some reference https://www.codeproject.com/Articles/188467/jQuery-Templates-View-Engines-in-ASP-NET-MVC https://www.codeproject.com/Articles/775759/Client-Side-Template-in-ASP-NET-Web-Form-MVC-with https://www.c-sharpcorner.com/UploadFile/3d39b4/client-side-template-in-Asp-Net-web-form-mvc-with-mustac/

Posted in ASP.NET MVC, C#, Uncategorized | Leave a comment

Get text from Google translate by C#

var s = @”계좌 번호 82 입금 83 무 83 무통장 83 예금 83 출금 83 계좌 83 조회 83 분실 83 신고 83 변경 83 알에프 (RF) 83 거래 83 선택 83 수표 83 이이 씨 카드 (IC 카드) … Continue reading

Posted in ASP.NET MVC, C#, Uncategorized | Leave a comment

IoT Asset Management Using Graph Database Modeling

The Challenge Power grid systems are considered an integral part of modern society. Their robustness and efficiency not only impact our daily lives, but also influence economy, politics, and the global environment. Power grids continually evolve over time to accommodate … Continue reading

Posted in ASP.NET MVC, Business Metrics, Business Model, Problem solving, Programming, Software architecture, Uncategorized | Leave a comment

How to start using Entity Framework 6 with MySQL databases

To start using Entity Framework 6 and Visual Studio 2013 is necessary to install MySQL for Visual Studio 1.1.1 Beta and MySQL Connector/Net 6.8.1 Beta MySQL for Visual Studio 1.1.1 Beta can be downloaded with the following link: https://cdn.mysql.com/Downloads/MySQLInstaller/mysql-visualstudio-plugin-1.1.1.msi MySQL … Continue reading

Posted in ASP.NET MVC, C#, Problem solving, Programming, Uncategorized | Leave a comment

Build query string for System.Net.HttpClient get

From https://stackoverflow.com/questions/17096201/build-query-string-for-system-net-httpclient-get var query = HttpUtility.ParseQueryString(string.Empty); query[“foo”] = “bar<>&-baz”; query[“bar”] = “bazinga”; string queryString = query.ToString(); will give you the expected result: foo=bar%3c%3e%26-baz&bar=bazinga You might also find the UriBuilder class useful: var builder = new UriBuilder(“http://example.com&#8221;); builder.Port = -1; var query = … Continue reading

Posted in ASP.NET MVC, C#, Problem solving, Programming, Uncategorized | Leave a comment

Value cannot be null. Parameter name: source

Resolved with the following solution 1)Right click on the edmx file, select Open with, XML editor 2)Locate the entity in the edmx:StorageModels element 3) Remove the DefiningQuery entirely 4) Rename the store:Schema=”dbo” to Schema=”dbo” (if exists) 5)Remove the store:Name property … Continue reading

Posted in ASP.NET MVC, C#, Problem solving, Programming, Uncategorized | Leave a comment

Datalist for input text in Angular

src https://stackoverflow.com/questions/53058565/angular-and-datalist Using datalist with not get you what you wish in this case.. here is the code that partially works. After selecting any element the dropdown will not show as it was showing before. try using select with option. … Continue reading

Posted in ASP.NET MVC, Education and Training, Integration, Knowledge, Problem solving, Programming, Uncategorized | Leave a comment

3 ways to communicate between Angular components

Src: https://medium.com/dailyjs/3-ways-to-communicate-between-angular-components-a1e3f3304ecb How to communicate between components? This is the topic I’ve seen many new Angular developers to struggle with. I will show you the three most common approaches, with examples that fits different use cases. There is also the “redux … Continue reading

Posted in ASP.NET MVC, C#, Knowledge, Problem solving, Programming, Uncategorized | Leave a comment

How to Troubleshoot IIS Worker Process (w3wp) High CPU Usage

Source https://stackify.com/w3wp-high-cpu-usage/ Having IIS performance problems? Do you have w3wp.exe high CPU usage? In this article, we will discuss some tips to identify what is causing high CPU usage for your ASP.NET web applications. There are a lot of reasons that your … Continue reading

Posted in ASP.NET MVC, C#, Knowledge, Problem solving, Programming, Software architecture, Uncategorized | Leave a comment

Low latency html5 WebSocket Server to stream live and computed data to web browser grid (a flavor of SignalR)

From https://www.codeproject.com/Articles/890092/Low-latency-html-WebSocket-Server-to-stream-live-a   Introduction Live updates to browser is an important scenario in today’s world.  All businesses (Banking, Trading, Healthcare, Retail etc..) rely heavily on internet/browser based apps to reach their esteemed customers.  Be it stock quote, news, mail – live … Continue reading

Posted in ASP.NET MVC, C#, Knowledge, Problem solving, Uncategorized | Leave a comment