RavenDB logo

RavenDB embedded with ASP NET Core web API

0
This post describes how you can set up a simple ASP NET Core web API with Visual Studio 2017 to use an embedded RavenDB. This is a step by...

Raven.Studio.zip Index.html not available

0
I had RavenDb embedded in a aspnet.core web api and I was getting this error when I tried to reach Raven Studio: The following file was not available: index.html....

Integration Tests in .NET WebApi

0
In software development, testing is an essential aspect that ensures the stability and reliability of applications. Three primary types of tests are commonly used: unit tests, integration tests, and end-to-end tests. In this blog post, we will discuss these testing types in the context of a .NET WebAPI project and provide an example implementation of integration testing using an in-memory database.

Codesmith, netTiers and reserved words

0
Started today using Codesmith tools today after a year or so since the last time that I used this great generation template based tool. I had to generate...

Ajax.NET – A free library for the Microsoft .NET Framework

0
Asynchronous JavaScript with XmlHttpRequest - C# Example Download the latest Ajax.dll (5.5.13.1) to use it for free in your web projects. To learn more about AJAX, visit:WikipediaA New Approach to Web...

Add a custom section to web.config

0
If you have created a custom section like this, and if you want to add it programmatically to web.config then you have to: Use the WebConfigurationManager class and open the...

Posting back in a modal popup

0
If you have a server-side form that needs to post back to itself, and that form is in a window made available through window.showModalDialog call, the postback will cause...

Setting the original file name when using Response.BinaryWrite()

0
Imagine you have file saved in a database. Then you have an aspx page that gets that page and sends it back to the user. If you just simply use Response.BinaryWrite you...

Dealing with Memory Pressure problems in MOSS and WSS

0
I just a found another great post about memory management and performance issues on the SharePoint platform. This article defines the concept of "Memory Pressure" and discusses in great...
redirection

Redirecting 2 domains from http to https and non-www to www

0
Recently I had to configure some redirections in a website that contains two different domains. Both use https and I want the main site, which uses the primary domain, to...