You will now modify the RavenDBProfiling
application to address the RavenDB visual host. You will add the Create Country
view to the RavenDBProfiling
application in order to enter some document data in an easy way and store these documents in the visual host instances. Then, you will observe and analyze request and response details in the visual host:
In Windows Explorer, go to the
~\Sample
folder of the RavenDB installation package and open theRaven.Samples.sln
solution.Set the
Raven VisualHost
project as the startup project. Then, press F5 to build and run theVisual Host
(or run theRaven.VisualHost.exe
file).Click on the Start button in order to create and run
1
(one) RavenDB instance.Open the
RavenDBProfiling
application and modify theDocumentStore
object initialization code in theGlobal.asax.cs
file to look like the following code snippet: