Archive

Archive for the ‘Uncategorized’ Category

5 THINGS THAT AMAZON WEB SERVICES CAN AND CAN’T DO

December 9, 2017 Leave a comment

A sure recipe for disappointment is to expect more from Amazon Web Services (AWS) than it can deliver. While AWS is a rich collection of services that are available in effectively unlimited scale, it’s important to understand that there are a number of things AWS can and cannot do:

  • AWS cannot make your legacy application “cloud-based.” Legacy applications have typically been designed for stable loads with static hardware infrastructure. They will probably work in AWS, but they won’t magically become cloud applications.

  • AWS can support highly scalable applications. Think of AWS as offering infinite capacity. All those applications you had trouble with because they outgrew predicted user load, storage use, or network traffic? No problem anymore with AWS. Amazon provides the resource, you provide the application load.

  • AWS cannot make your application failure-proof. Amazon designed AWS based on the notion that “everything fails all the time.” While AWS is designed to be highly resilient to resource failure, that doesn’t mean your application can’t fail — it just means that you have the ability to make your application more robust, if you leverage AWS application design principles.

  • AWS can make it cost less to run your application. Because Amazon provides AWS on a usage-based cost, if you design your application to follow the “down and off” principle of using only what you need and then skedaddling, you can typically save a lot of money compared to the traditional model of resource cost, where you pay up front for resources.

  • AWS cannot make your application secure for you. In cloud computing environments, security is a shared responsibility. Amazon takes on security responsibility for what it provides — the computing environment — while you take on security responsibility for what you provide — application software components. If you don’t do a good job managing your application’s security, there’s nothing Amazon can do to make it secure.

Thanks to Golden

Categories: Uncategorized Tags: ,

Yield keyword in C# – Reduces LOC

September 30, 2010 Leave a comment

Yield keyword is employed to reduce the allocation of arrays and by using a simple foreach iterative control structure.

Here’s a simple program which displays the first five even numbers.

 

   1: private void LearnYield_Click(object sender, EventArgs e)
   2:        {
   3:            // this is the main program
   4:            string result = String.Empty;
   5:  
   6:            foreach (int value in ShowEvenNum(2, 5))
   7:            {
   8:                result = result + " - " + value.ToString();
   9:            }
  10:  
  11:            MessageBox.Show(result);
  12:        }
  13:  
  14:        // this method returns the list of first five even numbers
  15:        public static IEnumerable<int> ShowEvenNum(int number, int multiplier)
  16:        {
  17:            int loopValue = 0;
  18:            int numberResult = 0;
  19:  
  20:            while (loopValue < multiplier)
  21:            {
  22:                numberResult += number;
  23:                loopValue++;
  24:  
  25:                // this yield keyword will directly add to the return list
  26:                yield return numberResult;
  27:            }
  28:  
  29:        }

This code and its comments are self explanatory.

-Yuva

http://Yuvahere.com

SCSF for Visual Studio 2008 SP1

September 11, 2010 Leave a comment

This is regarding the installation of SCSF for Visual studio 2008 SP1.

Here you can see lot of issues for the release of SP1 with SCSF

http://smartclient.codeplex.com/wikipage?title=Known%20Issues%20%2f%20Fixes&referringTitle=Home

Yes, The fix is also available for this.

Downoad the solution from the link below

"Download here"

1. Open and build the GuidancePackage.sln solution to generate the installer.
2. Navigate to the SmartClientFactorySetup\Debug folder.
3. Close all instances of Visual Studio.
4. Run the SmartClientFactoryPackageSetup.msi installer.

And now open the VS 2008 instance and check for the new project and you will see the image as below.

Click on the newer version and enjoy coding.

-Yuva

http://Yuvahere.com