Posts by Fabio Silva Lima • 216 points
7 posts
-
0
votes4
answers2413
viewsA: Generate angular pdf using javascript
In that case what I do is the following at the angle: window.location.href="http://localhost/suaapp/pdf?parametros" This URL will return a Response content type "application/pdf" and automatically…
-
3
votes2
answers353
viewsA: What is the difference between @Url.Content("~/css/bootstrap.css") and only "/css/bootstrap.css"
They changed that in version 4. You can also use direct ~/css/file.css.
-
1
votes1
answer433
viewsQ: Create a new instance every time you use Navigationpage in Xamarin Forms?
Let’s assume that I have 3 screens in Xaml and I use the SterDetailPage and Navigationpage to navigate between these screens back and forth. Page A -> Page B -> Page C -> ... I use…
-
1
votes1
answer108
viewsA: Add images in the bd using classes in c#
Gabriel, to make the inserts, use data access libraries like Microsoft Enterprise Library, Microsoft Entity Framework, Dapper or simply the ADO pure. In the database, for the field that stores the…
-
1
votes2
answers679
viewsA: ocLazyLoad to load controllers from an Angularjs SPA
Hello! I use $ocLazyLoad to load third-party scripts and plugins as needed. I even created a dependency mechanism for these plugins to download resolves route. For the files of angular controllers,…
-
2
votes1
answer233
viewsA: Asp.net HTTP Client get with query string
Daniel think it might be cache so put a guid at the end. string path = "api/Metereologias?data_de_leitura=" + data + "hora_de_leitura=" + hora + "&guid?=" + Guid.NewGuid().ToString(); See if it…
-
2
votes1
answer454
viewsA: Export List to Excel
For webforms we use it here: using (var tw = new StringWriter()) { using (var hw = new HtmlTextWriter(tw)) { var grid = new GridView(); grid.DataSource = RetornarDados(); grid.HeaderStyle.Font.Bold…