Posts by BetaSystems - Rodrigo Duarte • 666 points
14 posts
-
1
votes0
answers24
viewsQ: Objectcache - Removing all content after a few refreshes
I’ve been working with the ObjectCache for some time and I have had some problems with users who disconnected after some time of use. What’s going on that the ObjectCache is removing Cache after a…
c#asked BetaSystems - Rodrigo Duarte 666 -
-2
votes4
answers2549
viewsA: How can I automatically download PDF from a web page
In accordance with Shadow Wizard’s answer, Stackoverflow in English, assuming the server sends the header content-disposition: using (WebClient client = new WebClient()) { using (Stream rawStream =…
-
4
votes3
answers527
viewsQ: Structure/Nomenclature of Tables
I am developing a permission system and I have a universe of 9 tables, which form the final permission for the user to use my systems, however, I am in doubt of how to build two of them, the…
-
5
votes2
answers147
viewsA: Is there in the framework . Net, any delayed reading class?
So, I don’t know this functionality of . NET very well, but doing a search you find the Lazy<T> who does the same work as the Lazy Loading of Entity Framework, but with this you can do the…
-
1
votes2
answers747
viewsA: EF6 Code First Relation between entities
You could try it with the following, code: [Table("Fracao")] public class Fracao { [ScaffoldColumn(false)] public int FracaoID { get; set; } public int? ProprietarioID { get; set; }…
-
0
votes7
answers9251
viewsA: In C#, what is the await keyword for?
For this article by MSDN, and by my understanding, the await serves for the method, which contains an asynchronous task, wait for the end of the task execution and finish executing your code.…
-
1
votes3
answers2183
viewsA: How to create a musical "player" in C#?
Well, from the little you posted, you can take a look at this article, that teaches, with a native Windows library, how to make a player, with the possibility of Play and Stop, if you want something…
c#answered BetaSystems - Rodrigo Duarte 666 -
4
votes2
answers2870
viewsA: Should I adopt the naming standard of my framework or team legacy?
Look, I follow Microsoft’s "best practices": Tables Pluralized First uppercase letter for each word (Camelcase) Without _ or any other symbol Campos Table name added to word "Id" (e.g.: Table name)…
databaseanswered BetaSystems - Rodrigo Duarte 666 -
8
votes2
answers457
viewsQ: How do I log in through my Microsoft Live app?
I would like to know how I can log in through my application, whether Web or Desktop, on Live? I’ve looked for some things, but I haven’t succeeded. UPDATING So, as the bfavaretto suggested, I…
-
6
votes1
answer286
viewsA: WPF form is going behind all windows when a Combobox is selected
Well, I found the part of the code that was giving trouble: var processingView = new Helper.Views.ProcessingView(); processingView.Owner = null; processingView.Show(); ownerView.IsEnabled = false;…
-
4
votes1
answer839
viewsA: WPF - The Selecteditem property, from Combobox, is not working properly
Well, after a lot of trying, I found a paleactive solution. If I put the property SelectedValue and the Owner.OwnerTypeId, works perfectly, but it’s just a lame solution, because it’s not working…
-
11
votes1
answer286
viewsQ: WPF form is going behind all windows when a Combobox is selected
My form WPF works perfectly, but in a ComboBox specific, after the action of selecting, the form is going behind all the windows, without further explanation, and this does not happen in any other…
-
2
votes4
answers8540
viewsA: How to let bootstrap tab active after clicking on pagination?
So what happens is that when you use the PHP, you’re making post to load the new page... You would need to do this page via JavaScript or add a call Ajax in his PHP, follows an example of calling…
-
5
votes1
answer839
viewsQ: WPF - The Selecteditem property, from Combobox, is not working properly
Note: This question was the translation adapted from the original question, so all the Updates of the original question are together in this text, sorry for that, but the time is short and I can’t…