- http://oredev.org/2013/wed-fri-conference/entity-framework-in-core-business-applications-that-leverage-ddd
- http://pt.slideshare.net/JulieLerman/entity-framework-ddd
- https://channel9.msdn.com/Events/Ignite/2015/BRK3724
- https://github.com/VaughnVernon/IDDD_Samples_NET
- https://channel9.msdn.com/Events/Ignite/2015/BRK3724
- https://app.pluralsight.com/library/courses/domain-driven-design-fundamentals/table-of-contents
- http://blog.sapiensworks.com/post/2012/04/07/Just-Stop-It!-The-Domain-Model-Is-Not-The-Persistence-Model.aspx/
- http://culttt.com/search/?q=ddd : Explicação dos principais conceitos.
- http://www.agileandart.com/2010/07/16/ddd-introducao-a-domain-driven-design/ : Explicação mais aprofundada (Português).
- https://www.youtube.com/channel/UC1DrB2LTgVBGiZdgaOrzMCg : Canal do YouTube explicando e exemplificando DDD (Português).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #r "System.Xml" | |
| #r "System.Xml.Linq" | |
| #r "System.IO.Compression" | |
| #r "System.Data" | |
| using System.Xml.Linq; | |
| using System.IO.Compression; | |
| using System.Data.SqlClient; | |
| public void DecompressDatabaseMigration(string migrationName, string databaseName) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ServicePointManager.ServerCertificateValidationCallback = (sender, certificate, chain, errors) => true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| namespace MegaLinqTeste | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static class LongExtensions | |
| { | |
| private static readonly string[] Sizes = { "bytes", "KB", "MB", "GB", "TB" }; | |
| public static string ToFileSize(this long? bytesSize) => bytesSize.HasValue ? ToFileSize(bytesSize.Value) : "0 bytes"; | |
| public static string ToFileSize(this long bytesSize) => SizeWithMaxSize.TakeWhile(e => bytesSize >= e.Item2).Select(size=> $"{bytesSize / size.Item2:0.#} {size.Item1}").Last(); | |
| private static IEnumerable<Tuple<string, double>> SizeWithMaxSize => Sizes.Select((s, i) => new Tuple<string, double>(s, Pow(1024, i))); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Microsoft (R) VersÆo do Mecanismo de Compila‡Æo 4.0.30319.34209 | |
| [Microsoft .NET Framework, VersÆo 4.0.30319.34209] | |
| Copyright (C) Microsoft Corporation. Todos os direitos reservados. | |
| Restoring NuGet packages... | |
| Todos os pacotes listados em packages.config j estÆo instalados. | |
| Todos os pacotes listados em packages.config j estÆo instalados. | |
| EntityFramework -> D:\Projetos\entityframework\bin\ReleaseNet40\EntityFramework.dll | |
| Restaurando pacotes NuGet ... | |
| Para evitar que o NuGet baixe pacotes durante a constru‡Æo, abra a caixa de di logo Op‡äes do Visual Studio, clique no n¢ Gerenciador de Pacotes e desmarque a op‡Æo 'Allow NuGet to download missing packages'. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://github.com/fortesinformatica/FortesConecta/compare/commit1~..commit2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| String.prototype.toFunc = function() { | |
| var parts = this.split("=>"); | |
| var args = parts[0]; | |
| var body = parts[1]; | |
| var argsList = args.replace(/[()]/gi, "").split(","); | |
| return new Function(argsList, "return " + body) | |
| }; |