One of the dificulties for the one who is new the coding or has lack of experience is to find valuable recources which might bring you a bit hand-on experiences. In the end you should put extra effort in order to cover many aspects being taught but if you do not know where to start,Continue reading “Learn how to code practically”
Category Archives: Software Language
Singleton Design Pattern
If we would ever speak, what a design pattern is, that answer would be that a well described solution to a common software problem. One of them is about which we will discussing is “Singleton”. Singleton pattern lies under “Creational design pattern” group. Here is the list of this group. Creational Design Patterns Singleton PatternContinue reading “Singleton Design Pattern”
C# – Mapping Enum Types to Entity Properties in the Entity Framework Designer
Enums have implicit numeric indicies. You can change the “seed”: Implies 1, 2, 3 The Entity Framework Designer maps enums to int data types. In Entity Data Model Diagram(edmx) – Right-click column – Select convert to enum – In the Add Enum Type dialog, either: — Select reference external type, enter namespace + type, or…Continue reading “C# – Mapping Enum Types to Entity Properties in the Entity Framework Designer”
C# – Nuget Package Management and No-Commit Workflow
Package Manager – install files, folders, add references to third party packages supplying common functionality. Add dependencies. Update packages and dependencies Tools -> Nuget Package Manager -> Package Manager Console Install-Package elmah Update-Package elmah package.config file keeps track of packages, dependencies and versions. Nuget No-Commit Workflow To restore deleted packages at compile: Solution Explorer ->Continue reading “C# – Nuget Package Management and No-Commit Workflow”
C# – Creating a New Instance of Entity and Persisting to the Database
Filtering DbSets using LINQ method syntax: Lambda expression – “mini methods”