I wanted to do this and I found these articles helpful: #AzureFunction #Azure #Csharp Azure Functions C# developer reference –> see Referencing External Assemblies How to make a simple DLL as an assembly reference just for fun Could not load file or assembly … The system cannot find the file specified SOLVED It did take […]
Read More →Search Results for: culture
CodeDom provider type could not be located
Server Error in ‘/’ Application. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: The CodeDom provider type “Microsoft.CodeDom.Providers.DotNetCompilerPlatform .CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35” could not be located. Source Error: […]
Read More →Web.config file is emptied when copying to WebDAV share
When you configure a WebDAV site, it is not only accessible via the NET USE command to map the drive in Windows Explorer, it is also accessible via a browser. Because of this it is not safe to allow users or customers to upload web.config files that would possibly impact the availability, functionality or security […]
Read More →Adding images to a Tree View in WPF using C#
Like I’ve said before, once you find what your looking for, it is wasy to find examples about how to use and implement it. I had this again while trying to add images to a treeview. The term I was looking for, while trying to find a solution was ValueConverter. In this solution I will […]
Read More →Nhibernate MappingException could not compile the mapping document
The following error is generally caused when there is a misspelling or case miss match between the class file and the mapping file. Review the contents of both and confirm spelling and case are the same so that the ‘Could not compile the mapping document: hbm.xml’ error can be avoided. The inner exception is something […]
Read More →Validating time using a masked textbox within a WPF window using C#
This is unfortunately more of a hack than a solution, but I thought I would share it any way. I had the situation where I needed to validate the entered time into a masked textbox. The masked textbox is a Windows Form control, but I hosted it within a WPF window using the WIndowsFormsHost element. […]
Read More →NHibernate error, incorrect syntax near the keyword
Common sense, maybe…, worthy of a blog, absolutely. I was creating an ordering system using NHibernate and the table which stored the orders was called ORDER. This resulted in an error, which I believe would come from any data retrieval source, I just happen to be using NHibernate with SQL Server and Oracle. The error […]
Read More →Add images dynamically to WPF DataGrid using IValueConverter in C#
I created a WPF project which included a DataGrid which present a Status. It looked liked this. I didn’t really like the representation of the True, False, Null and decided to convert the value to either a Green, Yellow or Red image instead. To do this, I first added a class called BoolToImageConverter which implements […]
Read More →NHibernate and Entity Framework essentials using a Model First approach
Object Relational Mapping technologies have been around for many years. Hibernate was one of the first, if not the first, ORM library which targeted the Java platform. Today, there are also NHibernate, which is a port of Hibernate to C# and the ADO.NET Entity Framework. Being a huge fan of the concept I am passionate […]
Read More →