-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intellisense for web.config and external config files #239
Comments
Oops, forgot to actually attach the file. Reported by
|
in the errorLogCT you are missing entries for the attributes thanks Reported by
|
@atifaziz How about adding this to the elmah v1 source or creating a new repository for this file? Could be used for multiple purposes (visual studio intellisense, validation etc.). |
@ThomasArdal I've always left this issue open so that anyone searching for “IntelliSense” will find it & be able to use the file. I think maintaining it as a separate repo is an idea. If that's something you want to do then I can close this issue here. BTW, Bootstrapper is designed to simplify the configuration considerably. |
@atifaziz I would like to take ownership of this file for now. I know that Bootstrapper solves this better and that web.config configuration will die eventually. But until it does, I see multiple purposes for the file. Should we create a repository in the Elmah organization or do you want me to take ownership either through my personal account or the elmah.io organization? |
@ThomasArdal Why don't you go ahead and setup the repo under your account for now & then we can always transfer it or just mirror over? If you make a blog entry about it then feel free to send a PR for the Community KB on elmah.github.io. When the repo is ready, cross-link here and close this issue. Thanks! |
@atifaziz I'm not sure that I will be able to close this issue, but will start working on setting it up and writing the blog post now. |
The schema now have a new home at: https://github.com/elmahio/Elmah-Schema. This issue can now be closed. |
Adding intellisense support when configuring Elmah using
web.config
would help new users. It would also make it easier to adjust the settings without having to check the documentation. Trickier elements such as error filtering would also be a bit easier to understand.I have attached an xml schema definition (xsd) file that provides basic intellisense in visual studio. This is the first xsd that I have created so perhaps somebody else can clean this up. One limitation I am aware of is that custom
errorFilter
assertions won't validate.To use this file place it anywhere in your project, then add the following attribute to the
elmah
element:If you use external configuration files just add the above attribute to the root element of the file.
The namespace I used in the xsd is
http://Elmah.Configuration
but feel free to change that to whatever you wish.Originally reported on Google Code with ID 239
Reported by
JeffLingis
on 2011-07-13 14:28:14The text was updated successfully, but these errors were encountered: