Sponsored White Papers, Webcasts, and Downloads
TechRepublic Resources
- Determine the number of days between dates in VB.NET
- Trying to figure out how many days there are between two given dates? Find out why you may want to use VB.NET's TimeSpan object. Developers often deal with various date manipulations in applications. If you need a simple way to figure out how many days there are ...
- Tags: Microsoft Visual Basic.Net, TimeSpan, Irina Medvinskaya, Microsoft development tools, Programming languages, .NET, TimeSpan object, strMsgText, dtStartDate, Visual Basic Tips Newsletter, TechRepublic Inc., Value, Object, Development Tools, Software Development, Software/Web Development
- Technical articles 2007-03-22
- Working with dates and times in VB.NET
- wish it was more informativethe article states "return the month component". Well, what is it that is returned? a name in english or a numeral in the range 1 to 12 ?Also, article makes no mention that when using a variable of type DateTime and displaying its value...
- Tags: Value at Risk, arzewski@..., date, programming, Microsoft Visual Basic.Net
- Discussion threads 2006-06-30
- Calculate period of time with .NET
- Storing TimeSpan Values in SqlServerHi - just wondering if anyone has come across a good way to store TimeSpan values in SqlServer 2005? Seems mad that MySql has this facility and Microsoft missed it.Here are some optionsThe TimeSpan structure is serializable, so you could serialize/deserialize it to/from a memory stream...
- Tags: TimeSpan, 2005, sqlserver, TimeSpan value, j_machale@..., programming, Microsoft .NET
- Discussion threads 2006-06-09
- Calculate period of time with .NET
- A common feature of most development projectsis the utilization of date and time values. You may utilize thisfeature in a variety of places, including report generation, dataentry, and calculations. The inclusion of multiple time and datevalues often results in the need to calculate a difference. The.NET Framework provides numerous approaches...
- Tags: DateTime, DateTime value, Microsoft .NET, TimeSpan, TimeSpan value, Tony Patton
- Technical articles 2005-06-27
- Calculate period of time with .NET
- The inclusion of multiple time and date values in development projects often results in the need to calculate a difference. Learn how to complete this task with .NET's TimeSpan value type. A common feature of most development projects is the utilization of date and time values....
- Tags: Microsoft .NET, TimeSpan, DateTime, C#, Tony Patton, .NET, Programming languages, Microsoft development tools, J# syntax, .NET Newsletter, TechRepublic Inc., Microsoft .NET Framework, Sample Code, Microsoft Corp., Value, Console.WriteLine, Application Servers, Middleware, Software Development, Software/Web Development, Development Tools, Enterprise Software, Software
- Technical articles 2005-06-27
Additional Resources
- Determine the number of days between dates in VB.NET
- And in VB6 do it this way...As usual for many of these .NET tips, the technique illustrated has a VB6 equivalent function "baked in".if t1 and t2 are strings containing valid date expressions, then this...td = DateDiff("d", t1, t2)...returns the difference in days between t1 and t2.It's days because...
- Tags: Network technology, .NET, moira@..., Microsoft Visual Basic.Net, DATEDIFF, T2, Microsoft Visual Basic 6.0, T1
- Discussion threads 2007-03-23
- Map My Ancestors (exe)
- Now you can link the individuals in your family tree to the mapping capabilities of Google Earth. Automatically create Placemarks for events in the lives of individuals and view a path following the movements during their lifetime. Use the timespan slider feature of Google Earth to restrict the view to...
- Tags: Google Inc., Google Earth, Integrated Earth
- Software downloads 2008-06-25
- Caching
- How to remove a cache variable on application close in asp.netExplicit removal on an object from cache example below:public void Application_OnStart{System.IO.StreamReader sr =new System.IO.StreamReader("pi.txt");string pi = sr.ReadToEnd;Context.Cache.Add("pi", pi, null,Cache.NoAbsoluteExpiration,new TimeSpan(0, 5, 0),CacheItemPriorityDecay.Never,new CacheItemReomovedCallback(this.OnRemove));}public void OnRemove(string key, object val, CacheItemRemovedReason r){// respond to cache removal here}Setting an absolute expiration for a...
- Tags: coolmanohar@...
- Q&A 2004-12-21
- A sample app to monitor performance counters and send alerts
- This blog post is also available as a TechRepublic download, which includes a sample project containing all the code needed to get this utility up and running.There are many instances where you may want to use the information gathered from a performance counter. From memory usage, to ASP.NET page recompilations,...
- Tags: Counter, Monitor, Constraint, Performance, Utility, Value, Zach Smith
- Blog posts 2007-08-09
- Pick up the basics of .NET Framework multithreaded programming
- Multithreaded programming can be a little daunting for novice programmers, but the .NET Framework has considerably simplified the process. In fact, almost any programmer can delve into it and master the fundamentals. I'll introduce you to the basics of multithreaded programming and provide some sample code you can use to...
- Tags: C#, Programming languages, C/C++, .NET, Microsoft development tools, Development tools, programming, Stephen Fraser, Microsoft .NET Framework
- Technical articles 2003-02-04
- Improve the performance of your app with ASP.NET caching
- By Mark StrawmeyerApplication performance is an important consideration for any .NET-based Web site. Migrating from ASP to ASP.NET will likely increase the performance of your site, but the migration alone doesn't guarantee that it will perform at the highest level possible. By utilizing the caching functionality built into ASP.NET, you...
- Tags: Performance management, .NET, Middleware, Microsoft.NET Framework, performance, Crowe, Chizek and Company LLP, Application-Performance, Microsoft ASP.NET
- Technical articles 2003-10-14
- Working with dates and times in VB.NET
- VB.NET's DateTime structure represents an instant in time. Irina Medvinskaya discusses how to utilize DateTime properties and methods so you can work with DateTime values in VB.NET. VB.NET's DateTime structure represents an instant in time and is usually expressed as a particular date and time of the ...
- Tags: Microsoft Visual Basic.Net, DateTime, Irina Medvinskaya, Microsoft development tools, DateTime value, Visual Basic Tips Newsletter, Value, .Net, Programming Languages, Development Tools, Software Development, Software/Web Development
- Technical articles 2006-06-29
- Control data caching in .NET with the Caching API
- Caching frequently accessed or expensive data in memoryboosts application performance by reducing the number of database calls toretrieve the data. ASP.NET provides two basic caching techniques: page PageOutput and Page Fragment and programmatic caching. In my previous article, Icovered the basics of Page Outputcaching. This article's focus is on caching...
- Tags: API, cache, Caching API, Control Data, Microsoft .NET, specific item, Tony Patton
- Technical articles 2006-06-30
- Advanced ASP.NET caching with delegates
- ASP.NET has powerful built-in caching capabilities that you can access through the cache object’s familiar and intuitive "key and item" data access model. Using this model, it’s natural to write code that uses the cache object as you would a collection, searching for cached data by keys and relying on...
- Tags: PRODUCTIVITY, .NET, Middleware, Daniel L. Fox, CacheItemRemovedCallback onRemove, RemovedProducts, Microsoft ASP.NET
- Technical articles 2003-02-26
- Using message queue services in .NET
- The combination of Microsoft Message Queuing's inclusion with Windows and the .NET System.Messaging namespace makes it easy to utilize messaging in your .NET application. Tony Patton offers more details about using message queues. Developers are often faced with scenarios where operations need to be performed asynchronously (i.e., processes...
- Tags: Microsoft .NET, Microsoft Message Queue Server, Middleware, Tony Patton, Enterprise software, queue, .NET Newsletter, Message, Application, Aspect, Listing B, Message Queue, MessageQueue, Software
- Technical articles 2006-11-20
- Control data caching in .NET with the Caching API
- Decreasing page load time is imperative when dealing with Web site performance. Tony Patton explains how you can make this happen by using the .NET Caching API. Caching frequently accessed or expensive data in memory boosts application performance by reducing the number of database calls to retrieve...
- Tags: Microsoft .NET, API, Control Data, Middleware, Tony Patton, .NET, Microsoft development tools, specific item, Caching API, .NET Newsletter, Cache, Method, Microsoft ASP.NET, Signature, Object, Listing B, Insert, Insert Method, Get Method, Listing D, Application Servers, Programming Languages, Software Development, Software/Web Development, Enterprise Software, Software, Development Tools
- Technical articles 2006-06-30
- Prevent synchronization errors with .NET objects
- In the final part of our .NET threading series, Web Editor Lamont Adams takes a look at the tools that will keep you safe from the synchronization blues. Of course, he's got code for you too.As we've seen in previous articles, the .NET Framework includes easy-to-use support for creating multithreaded...
- Tags: .NET, Application servers, Lamont Adams, Monitor.Enter, Microsoft .NET, critical section, monitor
- Technical articles 2001-11-19
- Application Development: Optimize the speed of your ColdFusion applications
- In the past, some developers thought that ColdFusion was "too slow." Regardless of whether that was true or not in the past, it is certainly not true now. With ColdFusion MX running on top of Java, CF has gotten a significant performance boost. However, aside from the tweaks to CFMX...
- Tags: Java, Development tools, Brian Kotek, application development, JVM, Allaire ColdFusion, server, performance
- Technical articles 2004-03-09
- << Previous
- page 1 of 1
- Next >>