Identityazuretable
This project provides a high performance cloud solution for ASP.NET Identity Core using Azure Table storage replacing the Entity Framework / MSSQL provider.
ElCamino.DocFx.WebAppRefresh
DocFx build middleware that allows you to setup a .net core web app project and adds a file watcher to your content files. When you change a content file, such as markdown, css, etc, the middleware automatically starts a docFx build in the background regenerating the target html files. Sample .net core web application
This library should be configured for local development only as shown below!
- Create a new .net core web application 'Empty' project
dotnet new web
or
Use Visual Studio new project, web application, Empty.
- Use the nuget package manager to install docfx.console
dotnet add package docfx.console
- Build the project (this will generate all of the docfx files)
- Rename the _site folder to wwwroot.
- Edit the .gitignore file, remove _site, add wwwroot and log.txt
wwwroot
log.txt
- Edit the docfx.json, rename _site and replace with wwwroot
{
"dest": "wwwroot"
}
- Use the nuget package manager to install ElCamino.DocFx.WebAppRefresh
dotnet add package ElCamino.DocFx.WebAppRefresh
- Edit the Startup.cs
public class Startup
{
...
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
if (env.IsDevelopment())
{
app.UseDeveloperExceptionPage();
// only use in development, not for production
app.UseDocFxBuildRefresh(env.ContentRootPath, env.WebRootPath);
}
app.UseDefaultFiles();
app.UseStaticFiles();
}
...
- Debug the web application. Change a content file (markdown, css, etc) and watch the debug output for the docFx build output and refresh the page to see your changes.
A blog for modern software development
Subscribe and get the latest blog post in your inbox.
Software as a Service
Price Steady
Customized, Hosted Subscription Pricing Pages Up Quickly With No And Low Code Options.
Optic Nerve AI
No code, first class import/publish with Azure, Google cloud custom vision AI services.