- .NET
- .NET Core 1.1
- 3D
- Android
- Angular
- Angular2
- AngularJS
- apps
- Architecture
- array
- ASP .NET
- async
- await
- Azure
- binding
- C#
- changes
- closure
- cocoa
- code
- collection
- components
- composition
- cross-platform
- delegate
- dependency injection
- design
- desktop
- Development
- escaping
- events
- exception
- for
- generalization
- git
- Holographic
- HoloLens
- HTML
- iCloud
- INotifyPropertyChanged
- iOS
- iPhone
- JavaScript
- learn
- learning
- Mac
- macOS
- Mobile
- mocking
- multi-threading
- MVC
- PC
- properties
- quality
- SQL Server
- Surface
- Swift
- target
- technologies
- technology
- testing
- tools
- types
- TypeScript
- unit tests
- Unity
- UWP
- Visual Studio
- WebAPI
- Windows
- Windows 8
- Windows 10
- Windows Phone
- WPF
- xCode
Archives
Top 10
- Want to learn WPF? Get a book
- How to write good code on first attempt
- Don't set NSPopupButton's menu.items!
- Books do make a difference
- Developing HTML UI for SQL Server data with no middle code (or just a few lines)
- XAML element properties and cut-paste refactoring
- macOS milestone
- How to improve your good code further
- Embedding custom Cocoa macOS views with xibs into frameworks
- Generically handling multi-threading exceptions in WPF
- Follow Code {Sections} on WordPress.com
Category Archives: Architecture
2D virtualization
Do you need to develop a UI grid component displaying column-aligned cells for rows bound to specific items that the client would provide? Do yourself a favor and prepare for performance improvements when you design it. I mean: don’t just … Continue reading
On onion (cone?) architecture
“High level modules should not depend on low level modules. Both should depend on abstractions.” The first three circles starting with the central Domain define the application core. Each of these is a collection of high level modules. The outer-most … Continue reading
Flutter
I recently found out about the new cross-platform framework for mobile development that Google backs up: Flutter. Although it’s only in alpha stage (i.e. early development) at this time, I wonder, could it eventually reach more adopters than Xamarin or … Continue reading
Posted in Architecture
Tagged Android, cross-platform, Flutter, iOS, Mobile, multi-platform
Leave a comment
Avoid extracting internal libraries
In a not-too-small software development company it’s very likely that you’ll manage multiple projects over time, with multiple teams and doing work for multiple customers. And for each platform/framework that you’d target (sometimes even cross-platform) you will probably determine that you … Continue reading
Can we skip unit tests for infrastructural code?
Almost always we end up with infrastructural code in our projects. That is extension code on top of the framework that we’re using internally, added so that the main functional code of the app is cleaner, clearer, shorter, and also … Continue reading
Mocking Entity Framework to unit test your data services
It’s not easy to write unit tests for services that use DbContext and DbSet<T> classes from Entity Framework (or Entity Framework Core), and there are complex solutions to approach this, like separating the data access layer completely, as I propose in my UnitOfWork-EntityFramework implementation. … Continue reading
Posted in Architecture, C#
Tagged DbContext, DbSet, Entity Framework, EntityFrameworkCore, mock, mocking, Moq
Leave a comment
Stop over-abstracting
Developers are very good when it comes to abstracting things, be this: 1) generating base or generic classes to inherit from or reuse; 2) generic or overloaded functions called with arguments instead of standalone ones; or 3) reusing code under multiple technologies even if it’s … Continue reading
Posted in Architecture
Tagged abstracting, Architecture, cross-platform, generalization, refactoring, reusing, technologies
3 Comments
Bridging
When you, a Microsoft technology-oriented developer, write software today you have to select the target platforms you would like to support. The platforms are then used to select the tools, technologies, and programming languages you can use for coding the different layers of … Continue reading
Posted in .NET, Architecture, C#, Development, JavaScript, Unity
Tagged .NET, Bridge, C#, JavaScript, TypeScript
Leave a comment
Architect vs. developer
A software developer knows how to (and will be eager to) generalize things – for example using a list instead of a single item or a generic type or method instead of a specific one – enabling more scenarios with supposedly minimal amount of initial … Continue reading
Posted in Architecture, Miscellaneous
Tagged architect, budget, changes, developer, generalization, project
Leave a comment
Too much dependency injection?
I’m sure you use dependency injection in many of your projects. And usually, it’s a very good thing to do. However, I found out that many people use it somehow blindly: every time they need to extract a new class just … Continue reading