Showing Tag: "is" (Show all posts)

Paste JSON as Classes

Posted by jineesh uvantavida on Thursday, November 10, 2022, In : Tips & Ideas. 
Paste JSON as Classes

When working with APIs we often send a request and receive JSON data. Using C#, we need to transform the data into an object tree. That’s where what I’m going to show you is a game-changer.

First, let’s assume we receive the following JSON data from an API:
{
  "squadName": "Super hero squad",
  "homeTown": "Metro City",
  "formed": 2016,
  "secretBase": "Super tower",
  "active": true,
  "members": [
    {
      "name": "Molecule Man",
      "age": 29,
      "secretIdentity": ...

Continue reading ...
 

How to find List of Stored Procedures/ Functions in PostgresSQL Database

Posted by jineesh uvantavida on Wednesday, December 23, 2020,
Finding procedures without schema name

select n.nspname as schema_name, p.proname as specific_name, l.lanname as language, case when l.lanname = 'internal' then p.prosrc else pg_get_functiondef(p.oid) end as definition, pg_get_function_arguments(p.oid) as arguments from pg_proc p left join pg_namespace n on p.pronamespace = n.oid left join pg_language l on p.prolang = l.oid left join pg_type t on t.oid = p.prorettype where n.nspname not in (...
Continue reading ...
 

RazorTagHelper - DOTNET_HOST_PATH is not set -Error MSB4018

Posted by jineesh uvantavida on Wednesday, December 2, 2020, In : asp.net 

After updating VS 2019 16.8.2 There will be an error on compilation on any project:


dot net --version : 5.0.100

Severity Code Description Project File Line Suppression State

Error MSB4018 The "RazorGenerate" task failed unexpectedly.
System.InvalidOperationException: DOTNET_HOST_PATH is not set at Microsoft.AspNetCore.Razor.Tasks.DotNetToolTask.get_DotNetPath()
at Microsoft.AspNetCore.Razor.Tasks.DotNetToolTask.GenerateFullPathToTool()
at Microsoft.Build.Utilities.ToolTask.ComputePathToTool() a...


Continue reading ...
 

USB Modem not working on Windows 8 / 8.1

Posted by jineesh uvantavida on Sunday, October 12, 2014, In : Tips & Ideas. 

I have windows 8 RTM( Enterprise Edition ) running on Dell inspiron Laptop with Micromax MMX 300G.
well all versions of Micromax MMX modem will work fine.

Just follow the steps below:

Method 1 (Older Method works fine with Windows 8):

1. uninstall the software if already installed.2. open the modem in new windows and set its (modem_installation.exeand show_modem.exe ) compatibility to windows7 then         press OK.
3. Now install the software , then restart the system .
4. Connect the modem and st...


Continue reading ...
 

Issue with installing Visual Studio 6.0 ACMBOOT.exe is damaged

Posted by jineesh uvantavida on Thursday, March 15, 2012, In : Tips & Ideas. 
1. make a copy of your installation cd in your hard drive
2. make a copy of the setup/VS98ENT.STF and name it acmsetup.STF
3. copy entire content of setup/ to previous folder (the one that has acmboot.exe file)
4. modify acmsetup.stf with acost.exe as you require and save it.
5. run acmsetup.exe instead of setup (the one that's on the same path as acmboot.exe)
6. that's it, your visual studio 6.0 will be installed.



--

Continue reading ...
 
 

Translate This Page

 


Make a free website with Yola