问题
Is it possible to use Fiddler 4 to retrieve the structure of the queries sent to RavendB (C#)? In fact, I am currently using session.Query() to write queries to manage the data stored in a RavenDB database. I would like to transform all these queries into session.Advanced.DocumentQuery() queries. But, some of these queries are complex. Is it possible to use fiddler to see how RavenDB transform the session.Query() queries I run into session.Advanced.DocumentQuery() queries? If so, how can I proceed? Thanks in advance.
回答1:
You can more easily get the string of the query by just calling .ToString()
on the query object.
Alternatively, you can pipe everything through fiddler, by specifying http://localhost.fiddler:8080 as the db url in ravendb.
来源:https://stackoverflow.com/questions/34418915/ravendb-use-fiddler-to-retrieve-the-structure-of-the-queries-sent-to-the-databa