c# Programming Glossary: environments
Using Excel OleDb to get sheet names IN SHEET ORDER http://stackoverflow.com/questions/1164698/using-excel-oledb-to-get-sheet-names-in-sheet-order the interop classes don't work reliably in non interactive environments such as windows services and ASP.NET sites so I needed to use..
How can I dynamically switch web service addresses in .NET without a recompile? http://stackoverflow.com/questions/125399/how-can-i-dynamically-switch-web-service-addresses-in-net-without-a-recompile One major use of this will be to deploy to multiple environments where machine names and IP addresses are different. The web..
.NET Configuration (app.config/web.config/settings.settings) http://stackoverflow.com/questions/132544/net-configuration-app-config-web-config-settings-settings this question Any configuration that might differ across environments should stored at the machine level not the application level.. then you can promote your application code between environments without any post build modifications. And obviously the contents..
operators as strings http://stackoverflow.com/questions/174664/operators-as-strings might not be able to use code generation in medium trust environments such as most shared hosting servers. Here is an example for..
Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine http://stackoverflow.com/questions/1991643/microsoft-jet-oledb-4-0-provider-is-not-registered-on-the-local-machine file manipulation and it worked fine for me in both the environments. But this driver is in BETA . You can download this driver from..
Multiple/single instance of Linq to SQL DataContext http://stackoverflow.com/questions/226127/multiple-single-instance-of-linq-to-sql-datacontext options are Global DataContext dangerous in multi threaded environments including web apps . Remember that instance members are not..
Replace Line Breaks in a String C# http://stackoverflow.com/questions/238002/replace-line-breaks-in-a-string-c-sharp environment OS then you'd need to replace that particular environments implementation of new line control characters . share improve..
FileSystemWatcher vs polling to watch for file changes http://stackoverflow.com/questions/239988/filesystemwatcher-vs-polling-to-watch-for-file-changes seen the file system watcher fail in production and test environments. I now consider it a convenience but I do not consider it reliable...
how can you easily check if access is denied for a file in .NET? http://stackoverflow.com/questions/265953/how-can-you-easily-check-if-access-is-denied-for-a-file-in-net enough it will never happen in your testing or development environments which tend to be fairly static. This makes the problem difficult..
Using Process.Start() to start a process as a different user from within a Windows Service http://stackoverflow.com/questions/362419/using-process-start-to-start-a-process-as-a-different-user-from-within-a-windo my machine and no way near ready for use in production environments. The code here is still buggy For starters I'm not sure whether..
parse and execute JS by C# http://stackoverflow.com/questions/4744105/parse-and-execute-js-by-c-sharp the Windows Script Engines . It supports 32 bit and 64 bit environments. In your specific case it means depending on the .JS code you..
Use XML includes or config references in app.config to include other config files' settings http://stackoverflow.com/questions/480538/use-xml-includes-or-config-references-in-app-config-to-include-other-config-file drawback. When working on a single project across multiple environments managing configuration can become a nightmare. The process of.. multiple versions of a configuration file for multiple environments i.e. development testing staging and production at my current..
Main method code entirely inside try/catch: Is it bad practice? http://stackoverflow.com/questions/4827628/main-method-code-entirely-inside-try-catch-is-it-bad-practice regarding error handling are equally applicable to both environments. I thought I'd share a couple of gems from the article here..
Is C# really slower than say C++? http://stackoverflow.com/questions/5326269/is-c-sharp-really-slower-than-say-c For a few rather specific types of code and target environments it can even outweigh the advantages of static compilation. At..
SharePoint for a C# ASP.NET Developer [closed] http://stackoverflow.com/questions/535255/sharepoint-for-a-c-sharp-asp-net-developer site yes I know it's dirty . If you need those other environments you should produce deployment packages for everything no xcopy.. a CMS site where you need the code to go through multiple environments before it reaches production with continuous integration I can..
How to protect dlls? http://stackoverflow.com/questions/805461/how-to-protect-dlls market for obfuscation tools for a long time to deal with environments where delivery of compilable source is mandatory but you don't..
|