Sunday, February 26, 2017

OOP Questions for Practice

1. You have to make a class of “DECIMAL” that store the data “44.78” separately i.e. 44 in one variable and

78 in another variable.

And make the following functions.

 Constructors

 Getter / Setter

 Input / Output

 Sum (that sum two numbers)

 Subtract (that subtract two numbers)

 Multiply (that multiply two numbers)

 Divide (that divide two numbers)

2. Make a class of “phoneNumber” that contains

I.e. your home phone number is (042)-(35978)- (5294)

That have [(042) area code], [(35978) exchange number] and [(5294) your number]

You have to declare above all data members. And following functions

 Constructor

 Getter / Setters

 Input / Output

3. Make a class of “mergeArray”.

Input: A = {3, 5, 8, 10, 15, 25}

B = {4, 6, 45}

Output: C = {3, 4, 5, 6, 8, 10, 15, 25, 45}

You have to declare 2 arrays as data members of the class and following functions.

 Constructor

 Getter / Setters

 Input / Output

 Merge Array
Share:

Changing Color With Season - Magic Hair Color

Women are likely to be very fond of her hair colouring again and again and in new and unique colours, however, several different hair colours exist which damaged one's hair.

But if they find any magic colour which changes automatically according to the environment and the weather may not be so difficult to get the colour for the hair.

And the good news is that the Magic up a company in London, the scene is soon going to share the woman in the world.

The magic of a hair colour that has 'Fire' by putting women's hair colour will change automatically at various times and the advantage is that they often do not even need to colour your hair.

According to Forbes reports made many a hair colour called 'Fire', which may change according to the season and the environment.

Hair colour is the colour can be red, white, black to black-season match, white, blue, yellow, blue with silver and black.

Sen has his share of short videos with their fans hair colours but was not released in the market yet.

The company well after seeing the hair colour formula for make-up artists will be sold.
Share:

Venue of PSL Second Edition Final

On the begin of PSL second release, authorities report that the last of this occasion I mean final of this event will be in Lahore yet Pakistan Super League (PSL) Finals are dynamically less slanted to be March 5 in Lahore, in light of the fact that the organisation still has not picked in this. 

PSL head Najam Sethi, who has returned from Dubai to meet Punjab Chief Minister Shahbaz Sharif and other security experts, has not yet gotten any positive response from the assembly. 

Sethi yesterday tweet and expressed, "My minister has met with Pakistan, we are steady of holding in Lahore's PSL last, be that as it may, we will expect control over the position of the screen and study. 

Subsequent to counselling the February 20 All establishments of PSL official declared that the competition last on March 5 will be held in Lahore, however, it appears that the declaration was juvenile since the real partner and discussion in such manner the administration was. 

Sources had told the nearby daily paper that the significant occasions like PSL last occasion as real security offices propose not getting any real occasion like PSL in Lahore soon because of security issues at a meeting hung on Friday, February 24.
Share:

Saturday, February 25, 2017

Open Source Projects in ASP.NET

PHP is prominent dialect among engineers so that in one of the fourth site in PHP or PHP based other open source ventures like Joomla, WordPress and something like moodle and so on. 

Likewise, asp.net is additionally extremely mainstream dialect. 

Next to that we have loads of improvement in asp.net likewise we have bunches of open source applications and ventures in ASP.NET web structures and MVC which are accessible free on the web, best to learn engineering and coding style. 


UMBRACO: 

Umbraco is an open source content administration framework created in asp.net, advantages of utilizing this substance administration framework are the special case which is easy to use and simple to utilize. Its estimating begins from 25 euro 


KENTICO: 

Kentico is multi-stage, the across the board application which incorporates CMS, web based business and significantly more. Its valuing begins from $5500 


Nop-Commerce: 

As its name is an open source web based business arrangement you can download its source code completely free and you can roll out improvements as you can. They have one administer on the off chance that you wouldn't like to buy its permit you need to put "fueled by Nopcommerce" tag on your site else, you need to pay around $120 for one site.
Share:

Sunday, February 12, 2017

I want my Nokia back - Nokia an upcoming king

According to the latest reports, Nokia is bringing another Android phone in the market. This smartphone of Nokia being told P1. Nokia offered to show this mobile in Mobile World Congress, (MWC 2017) in Barcelona, Spain. Mobile World Congress, which begins Feb. 27. It was a few weeks ago when Nokia introduced its first Android phone Nokia6, It just completed the sale of first six seconds.

The video smartphone has been leaked on the internet which is Nokia P1 which can evaluate the smartphone's design. According to the video shared on YouTube, has been used the metal body, this phone has been the Home button below the display.

Before a site of Russia had leaked Nokia properties P1. This smartphone 6 GB RAM is applied. It has used Qualcomm Snapdragon 835 processor. This phone has a 5.3 inch HD display with Gorilla Glass 5.

Nokia has created a powerful phone's camera. If you believe the site was used in 22.6-megapixel back camera.

At the same time, it is also dust and water proof. The fingerprint sensor and fast charging technique also used. Nokia has taken special care of the battery in the phone. It will be available in 3500mAh battery. It is based on Android Nuget 7.0 operating system.

According to the Russian website will come in two versions on the market. 128 GB memory phone costs Rs 85,000 and 256 GB iPhone price will be around about 100,000 rupees.

Nokia 6 after the initial cell is again available for pre-order on Chinese website jd.com at Rs 26000 and the phone is already 250,000 pre-orders received day. This victory now gives the popular Nokia P1 will be worth watching.
Share:

Friday, February 10, 2017

Number of Facebook users has reached 2 billion

Facebook is American benefit partnership, online web-based social networking and informal communication website. It was set up in 2004. This well known long range informal communication website of Facebook clients has achieved 2 billion and it is normal that this year Facebook will turn into the primary online organisation in the world with two billion shoppers. 

likewise, facebook as an organisation has 15000 or more representatives. The report said that creating nations are urged to utilise the Internet in approach has added to the expansion of Facebook clients. The organisation said the aftereffects of its final quarter, 

the quantity of month to month dynamic clients on Facebook before the finish of 2016 was 1.86 billion. In the last quarter, contrasted with 1.79 billion a year prior the figure was 1.59 billion.
Share:

Wednesday, February 8, 2017

Customization of Nop-Commerce

Nop-Commerce is an open source dot net e-commerce solution used to develop amazing e-commerce sites you can easily check them on sites
Nop-Commerce has implemented each and everything you need for e-commerce solution

Following is the basic structure of nop-commerce files,

_Root.Head.cshtml
Header and Body tags
_Root.cshtml
Main Div

Header Links
Top Menu
Breadcrumb
Footer
_ColumnsOne.cshtml
one main column (left image)
_ColumnsTwo.cshtml
left and main column (right image)

Structure and architecture of nop-commerce is clean and easy to understand, n-tier architecture has been used for this project and also they have used partial views
For example, single product view is treated as a partial view which gets the Id of product and in the master page, they are using for loop to recalling that partial view by sending Id in it.

Following are list of most used partial views

..\Nop.Web\Views\BackInStockSubscription\CustomerSubscriptions.cshtml

..\Nop.Web\Views\BackInStockSubscription\SubscribePopup.cshtml
<div class="page back-in-stock-subscription-page">

..\Nop.Web\Views\Blog\BlogMonths.cshtml

 ..\Nop.Web\Views\Blog\BlogTags.cshtml
<div class="block block-popular-blogtags">

..\Nop.Web\Views\Blog\BlogPost.cshtml
<div class="page blogpost-page">

..\Nop.Web\Views\Blog\List.cshtml
<div class="page blog-page">

..\Nop.Web\Views\Catalog\ManufacturerAll.cshtml
<div class="page manufacturer-list-page">

..\Nop.Web\Views\Catalog\ManufacturerNavigation.cshtml
<div class="block block-manufacturer-navigation">

..\Nop.Web\Views\Catalog\HomepageCategories.cshtml
<div class="category-grid home-page-category-grid">

..\Nop.Web\Views\Catalog\CategoryNavigation.cshtml
<div class="block block-category-navigation">

..\Nop.Web\Views\Catalog\CategoryTemplate.ProductsInGridOrLines.cshtml
<div class="page category-page">

..\Nop.Web\Views\Catalog\ManufacturerTemplate.ProductsInGridOrLines.cshtml
<div class="page manufacturer-page">

..\Nop.Web\Views\Catalog\PopularProductTags.cshtml
<div class="block block-popular-tags">
  
..\Nop.Web\Views\Catalog\ProductTagsAll.cshtml
<div class="page product-tags-all-page">

..\Nop.Web\Views\Catalog\Search.cshtml
<div class="page search-page">

..\Nop.Web\Views\Catalog\SearchBox.cshtml

..\Nop.Web\Views\Catalog\TopMenu.cshtml

..\Nop.Web\Views\Catalog\Vendor.cshtml
<div class="page vendor-page">

..\Nop.Web\Views\Catalog\VendorAll.cshtml
<div class="page vendor-list-page">

..\Nop.Web\Views\Catalog\VendorNavigation.cshtml
<div class="block block-vendor-navigation">
  
..\Nop.Web\Views\Common\AdminHeaderLinks.cshtml
<div class="admin-header-links">

..\Nop.Web\Views\Common\ContactUs.cshtml
<div class="page contact-page">

..\Nop.Web\Views\Common\ContactVendor.cshtml
<div class="page contact-page"> 

..\Nop.Web\Views\Common\CurrencySelector.cshtml
<div class="currency-selector">
  
..\Nop.Web\Views\Common\EuCookieLaw.cshtml
<div id="eu-cookie-bar-notification" class="eu-cookie-bar-notification">

..\Nop.Web\Views\Common\Favicon.cshtml
<link rel="shortcut icon" href="@Model.FaviconUrl" />

..\Nop.Web\Views\Common\Footer.cshtml
<div class="footer"> 

..\Nop.Web\Views\Common\HeaderLinks.cshtml
<div class="header-links">

..\Nop.Web\Views\Common\JavaScriptDisabledWarning.cshtml
<div class="noscript">

..\Nop.Web\Views\Common\LanguageSelector.cshtml
<div class="language-selector">

..\Nop.Web\Views\Common\Logo.cshtml 
<a href="@Url.RouteUrl("HomePage")">

..\Nop.Web\Views\Common\PageNotFound.cshtml
<div class="page not-found-page">

..\Nop.Web\Views\Common\Sitemap.cshtml
<div class="page sitemap-page">

..\Nop.Web\Views\Common\Social.cshtml
<ul class="networks">

.. \Nop.Web\Views\Common\StoreClosed.cshtml
<div class="page store-closed-page">

..\Nop.Web\Views\Common\StoreThemeSelector.cshtml
<div class="theme-selector">

..\Nop.Web\Views\Common\TaxTypeSelector.cshtml
<div class="tax-display-type-selector">

<div class="page compare-products-page">
..\Nop.Web\Views\Product\CompareProducts.cshtml

<div class="page account-page customer-info-page">
.. \Nop.Web\Views\Customer\Info.cshtml

<div class="block block-account-navigation">
..\Nop.Web\Views\Customer\CustomerNavigation.cshtml

<div class="page account-page customer-info-page">
.. \Nop.Web\Views\Customer\Info.cshtml

<div class="page account-page downloadable-products-page">
..\Nop.Web\Views\Customer\DownloadableProducts.cshtml
Share:

Saturday, February 4, 2017

Why Pakistan Army a Best Army

The Pakistan Army is an expert armed force, ready to stand its ground in the environment that it works in. Pakistan confronts a genuine danger from India. Given the structure and preparing of the military, it is satisfactory to limit any real Indian risk against the nation expectedly. The Army keeps up a solid proportion of labour and a respectable adjust in the middle of its battle and bolsters components (otherwise known as a tooth to tail proportion).

In the course of recent years, the Army has put vigorously in preparing the majority of its units in the infantry and additionally other battling arms to have the capacity to direct COIN operations and has actualized in an extremely critical way the capacity to lead operations in a system driven mode by fusing "jointness" in its operations particularly with the Pakistan Air Force.

Truly, the greater part of the wars with India, except for 1971 where Pakistan lost its eastern wing (a domain which got to be Bangladesh and was isolated from the terrain West Pakistan by uprightness of the Indian land mass in the middle of), have been stalemates, which given Pakistan's littler size and lesser assets means that the Armed Forces of Pakistan can hold their own even against a numerically unrivaled Indian constrain. With the operationalization of atomic weapons by the three military administrations, Pakistani prevention against India over the traditional and atomic range has been fortified.

Pakistani preparing schools and educators are eminent the world over. Preparing for remote officer cadets, uncommon powers, building units and additionally pilots is led by the Pakistani military over various stages beginning from exceptionally essential to graduate level courses being offered in "extraordinary to arms/benefit" schools and National Defense University individually.

As far as modernization, Pakistan is right now highly involved with actualizing the Armed Forced Development Plan 2015 which would guarantee sufficient capacities are brought into each of the three administrations through a procedure of defence, institutionalisation and scale.

The military is very respected by the Pakistani country. Given its an expert drive, choice and acceptance into the administration is exceptionally pined for and draws a tremendous pool of candidates, of which just the best are chosen and sent to the military institutes.

Outside eyewitnesses see Pakistani military as a skilled battling power with all around prepared and inspired officer corps and positions. Amid remote courses and joint activities, Pakistani officers have generally done well. The Army is retooling itself to have the capacity to direct low power operations and also being prepared to deal with huge constraint engagements.
Share: