./nugetz

#on

48 packages tagged with “on

pkg

FlexiCache

This library provides extended cache capabilities to the ASP.NET applications. It includes the MongoDB and SQL Server output cache providers extending ASP.NET Output Cache capabilities by allowing to store cached data outside of the application process that is especially important in web-farm scenario. This library provides "Session-On-Demand" functionality - ability to separate ASP.NET Session data to subsets that can be stored outside of the main ASP.NET session and loaded on demand when it's really used rather on every request. This optimizes the out-of-proc ASP.NET session management and increases the overall site performance. These subsets of data can also be stored either in MongoDB and SQL Server. As an additional functionality, the library provides "Cache-On-Demand" that functions as an external out-of-process cache shared by all servers on web-farm. This cached data can be stored either in MongoDB and SQL Server. All functionality is highly configurable and extendable. The FlexiCache 1.1 has ability automatically collect meta data (metatags) for each cached resource or accept custom meta tags. This provides further functionality to remove the cached data by using application meaningful information embedded in the metatags. The removal process is based on application business logic. The Output Cache Provider is able to automatically build meta tags collection from query string and form parameters. The result metatags have the following format: "userid=12345", where UserId was a form or query string parameter that was supplied with the request.

v1.1.49.3K
cachesessionondemandoutput
pkg

BancoEventErrorLog

Created a new nuGetPackage for Event Log for logging events to Event Viewer and error Log/send email on exception dll. 1) Creates and saves event Log. 2) Sends email on errors. Sample event log: Event log can be written to Windows Event viewer or can also be saved to a text file [managed through settings in config file] ErrorLogHelper.WriteErrorLog("Window service Init"); Sample Error Log during exception: ErrorLogHelper.LogErrorandSendMail("Sample error, also pass the exception that occured", ex) This above exception can be written to an event log and also send an email by implementing below ErrorLogHelper.WriteErrorLog(ErrorLogHelper.LogErrorandSendMail("Window service failed to Initialize", ex), System.Diagnostics.EventLogEntryType.Error); Following are the config settings that need to be set that are specific for the app: Default implementation is to write it to a text file, but it can write to an event log and send an email by changing the following ConfigurationManager.AppSettings["LogEvent"] ConfigurationManager.AppSettings["SendErrorEmail"] Event Viewer Name = ConfigurationManager.AppSettings["EventViewerName"] text file file path ConfigurationManager.AppSettings["LogFilePath"] Email From and Display Name ConfigurationManager.AppSettings["EmailDisplayName"].ToString(), ConfigurationManager.AppSettings["EmailAddressFrom"] Email Subject: ConfigurationManager.AppSettings["EmailSubject"] Email To: ConfigurationManager.AppSettings["EmailAddress"]

v1.0.06.4K
EventLogErrorSendemail