Showing posts with label nuget. Show all posts
Showing posts with label nuget. Show all posts

Wednesday, January 3, 2018

Asp.Net Identity SQLite Provider on Empty Web Forms project

  Previously, I installed the Asp.Net Identity SQLite on a non-empty Web Form Project. This time, I'll try installing it on an Empty Web Form project so I can minimize the Nuget packages installed and I can learn which Nuget packages it depends on.


Firstly, I create a ASP.NET Empty Web Site targeting .Net Framework 4.7.1



Then on Nuget Package Manager for Solution, Uninstall all the Nuget Packages. This will make it truely empty Web Form project.

Monday, January 1, 2018

Asp.Net Identity SQLite Provider on a Web Forms project

  Mostly, the tutorial or sample I found from googling was for MVC and C#. So I decided to install the Asp.Net.Identity.SQLite by following the guide from MVC then modify it to work for Web Forms then convert it to VB.

I'm using Visual Studio 2017.

Create a new ASP.NET Web Forms Site project, targeting .Net Framework 4.7.1


Sunday, December 31, 2017

Unable to load DLL 'SQLite.Interop.dll': The specified module could not be found






Happens when installing nuget package System.Data.SQLite.Core.

Easy solution on my part:

  1. Copy the 'SQLite.Interop.dll' from the "packages\System.Data.SQLite.Core.1.0.106.0\build\net45\x86\SQLite.Interop.dll"
  2. Paste it into the 'Bin' folder

I am using Visual Studio 2017, Webform project targeting .net 4.5

Tuesday, May 24, 2016

Using Squirrel to replace ClickOnce

Installing Squirrel

While I was searching for a way to make ClickOnce deploy easier after all hardship about certificate and identity errors, I bump into Squirrel.Windows. Thanks to Travis's comment in this question: Deploy a ClickOnce application without signing. Even though no one answer that was Marked ans Answer (yet at the time), the comments really help to give me an idea about some alternatives.

I create a new project that target a .Net Framework 3.5 and start searching for it in the Manage Nuget Packages for Solution.Current latest stable version is 1.4.0. I install it right away.


Create a new Nuget Package for my Visual Studio Application

To create a new Nuget Package, I must install the Nuget Package Explorer. If uses Internet Explorer, it will run immediately to install if click the Download button.

This is when I run it:



1. I just have to create a new package (Ctrl+N).

Sunday, May 15, 2016

Process Executor to execute external process

Today I found a Nuget package name Process Executor in. I often make program that need to run executables. So I decided to take a look on this but I don't have the time for now. so I bookmarked this.

Some quote from the site:
DescriptionProcessExecutor is a wrapper class for System.Diagnostic.Process which created with intention to manage external process within .NET application without showing up the console window and capture all the console output logs at the same time. Download From...GitHubNuGetCodeProjectClass Diag

Description

ProcessExecutor is a wrapper class for System.Diagnostic.Process which created with intention to manage external process within .NET application without showing up the console window and capture all the console output logs at the same time.